yuhsing

Untitled

Dec 17th, 2012
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. OnPCLoginEvent:
  2. if (#password$ == "") end;
  3. addtimer 10000,strnpcinfo(0)+"::OnKick";
  4. mes "Please enter the security pass to this account.";
  5. input .@try$;
  6. if(.@try$ != #password$) {
  7. next;
  8. mes "Sorry, that is not Correct.";
  9. mes "You will be logged off in 5 seconds.";
  10. sleep2 5000;
  11. OnKick:
  12. atcommand "@kick "+strcharinfo(0);
  13. end;
  14. }
  15. mes "Password correct!";
  16. deltimer strnpcinfo(0)+"::OnKick";
  17. close;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment