Advertisement
Guest User

dog assistant

a guest
Mar 11th, 2014
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. prontera,156,186,4 script Dog Assistant 81,{
  2.  
  3. set .@npcname$,"[^FF0000Dog Assistant^000000]";
  4.  
  5. if (getgmlevel() < 99) {
  6. mes .@npcname$;
  7. mes "woof woof, bark, grr...uurr";
  8. mes " ";
  9. mes "*Dog bites*";
  10. close2;
  11. percentheal -5,0;
  12. end;
  13. }
  14.  
  15. mes .@npcname$;
  16. mes "Would you like to reset Alchemist class and Blacksmith class Fame points?";
  17. next;
  18. switch(select("No:Yes")) {
  19. case 1:
  20. mes "woof!";
  21. close;
  22. case 2:
  23. query_sql "UPDATE `char` SET `fame`=0 WHERE (`class`=10 OR `class`=18 OR `class`=4011 OR `class`=4019 OR `class`=4033 OR `class`=4041)";
  24. mes "Done!";
  25. close;
  26. }
  27. }
  28.  
  29. /*
  30. Blacksmith 10
  31. Alchemist 18
  32. Whitesmith 4011
  33. Creator 4019
  34. Baby smith 4033
  35. Baby alchemist 4041
  36. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement