Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Ignoring thing by Lumage w/ update by Omiwa
- commands.push(new Command("ignore", function(param){
- var params = quickParamParse(param);
- if(params.length !== 1){
- warningMessage("username where is??");
- return;
- }
- genericXHRSimple("/query/request/user?username=" + params[0], function(output){
- ignore(JSON.parse(output).result.uid,true);
- });
- }));
- commands.push(new Command("unignore", function(param){
- var params = quickParamParse(param);
- if(params.length !== 1){
- warningMessage("username where is??");
- return;
- }
- genericXHRSimple("/query/request/user?username=" + params[0], function(output){
- ignore(JSON.parse(output).result.uid,false);
- });
- }));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement