yuhsing

Untitled

May 20th, 2013
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. - script BotKiller -1,{
  2. OnPCLoginEvent:
  3. if( !checkchatting() && !checkvending() ){
  4. atcommand "@option 02 16 8192";
  5. atcommand "@battleignore";
  6. set .@op,rand(10);
  7. set .@po,rand(10);
  8. set .@pop,.@po+.@op;
  9. mes "[Bot Checker]";
  10. mes "Please do this simple math problem to make sure that you are a human.";
  11. next;
  12. mes "[Bot Checker]";
  13. mes "If you fail, you will be automatically kicked out the game.";
  14. next;
  15. mes "[Bot Checker]";
  16. mes "";
  17. mes .@op+" + "+.@po+" = ?";
  18. attachnpctimer strcharinfo(0);
  19. initnpctimer;
  20. input .@opo;
  21. if(.@opo!=.@pop){atcommand "@kick "+strcharinfo(0);end;}
  22. mes "Thank you for not botting.";
  23. mes "Enjoy Rozen Ragnarok Online!";
  24. atcommand "@option 0";
  25. atcommand "@battleignore";
  26. stopnpctimer;
  27. }
  28. addtimer ( 15 * 60000 ),strnpcinfo(0)+"::OnPCLoginEvent";
  29. close;
  30.  
  31. OnTimer10000:
  32. stopnpctimer;
  33. atcommand "@kick "+strcharinfo(0);
  34. end;
  35. }
Advertisement
Add Comment
Please, Sign In to add comment