Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (command == "setkick")
- if (commandData == undefined) {
- return;
- }
- if (commandData.indexOf('%target') == -1) {
- sendChanMessage(src, "You must specify where the target name goes by using %target!")
- return;
- }
- if (commandData.indexOf('%kicker') == -1) {
- sendAll(src, "GARYTHEGENGAR IS A HEARTLESS BITCH!")
- return;
- }
- //Replace the current kick script with this or it will not work.... JERKFACE
- if (command == "k") {
- if (tar == undefined) {
- return;
- }
- name = sys.name(src).toLowerCase()
- kmsg = sys.getVal("kickmessage_*"+name)
- if(typeof(kmsg)!='undefined'){
- eval('sys.sendHtmlAll("<b><font color=Red> "+'+kmsg+'+"</b></font>")', channel);
- }else{
- sys.sendChanAll( commandData + " was kicked out of the server by " + sys.name(src) );
- }
- sys.kick(tar);
- return;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement