Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. if (command == "setkick")
  2. if (commandData == undefined) {
  3. return;
  4. }
  5. if (commandData.indexOf('%target') == -1) {
  6. sendChanMessage(src, "You must specify where the target name goes by using %target!")
  7. return;
  8. }
  9. if (commandData.indexOf('%kicker') == -1) {
  10. sendAll(src, "GARYTHEGENGAR IS A HEARTLESS BITCH!")
  11. return;
  12. }
  13. //Replace the current kick script with this or it will not work.... JERKFACE
  14.  
  15. if (command == "k") {
  16. if (tar == undefined) {
  17. return;
  18. }
  19. name = sys.name(src).toLowerCase()
  20. kmsg = sys.getVal("kickmessage_*"+name)
  21. if(typeof(kmsg)!='undefined'){
  22. eval('sys.sendHtmlAll("<b><font color=Red> "+'+kmsg+'+"</b></font>")', channel);
  23. }else{
  24. sys.sendChanAll( commandData + " was kicked out of the server by " + sys.name(src) );
  25. }
  26. sys.kick(tar);
  27. return;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement