Advertisement
Guest User

gmutil(request)

a guest
Aug 11th, 2013
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. prontera,150,175,5 script inin 75,{
  2.  
  3. set @npcname$,"[ GM Util ]";
  4.  
  5. if(getgmlevel()>20) goto g_gm;
  6.  
  7. mes @npcname$;
  8. mes "Sorry, this npc is for GM's only.";
  9. close;
  10.  
  11. g_gm:
  12. mes @npcname$;
  13. mes "Please input character's name.";
  14. input .@charname$;
  15. if(!isloggedin(getcharid(3,.@charname$)))
  16. {
  17. mes @npcname$;
  18. mes "This character is either offline or doesn't exist!";
  19. close;
  20. }
  21. next;
  22. mes @npcname$;
  23. mes "Store all of his equipment?";
  24. if(select("Yes:No"))
  25. {
  26. mes @npcname$;
  27. mes "All done.";
  28. close2;
  29. attachrid(getcharid(3,.@charname$));
  30. atcommand "@storeall";
  31. end;
  32. } else {
  33. close;
  34. }
  35.  
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement