Advertisement
Guest User

Untitled

a guest
Apr 15th, 2013
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. prontera,150,150,0 script Sample 100,{
  2. set .@npc$,strnpcinfo(1);
  3. mes .@npc$;
  4. mes "Only members with high position can access the guild storage from me";
  5. next;
  6. if (getcharid(2) == 0) close;
  7. mes .@npc$;
  8. mes "Do you want me to open the guild stash for you?";
  9. next;
  10. if (select("Yes:No") - 1) close;
  11. mes .@npc$;
  12. mes "Let me check your position";
  13. query_sql("SELECT `position` FROM `guild_member` WHERE `account_id` = '"+getcharid(3)+"'", .@position);
  14. if (.@position != 3 || .@position != 2) close;
  15. mes .@npc$;
  16. mes "Done!";
  17. guildopenstorage();
  18. close;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement