Advertisement
hendra814

VIP System Register

May 1st, 2017
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 3.69 KB | None | 0 0
  1. prontera,140,226,6  script  VIP System  109,{
  2.  
  3. set .@day,1000;
  4. set .@week,5000;
  5. set .@month,20000;
  6. if (getgroupid()>4) {
  7. mes "[ VIP NPC ]";
  8. mes "Sorry,GM staff can't use this.";
  9. close;
  10. }
  11.  
  12. mes "[ VIP NPC ]";
  13. mes "This is the price for VIP Service.";
  14. mes "24 hours "+.@day+" cash point";
  15. mes "1 week "+.@week+" cash point";
  16. mes "1 month "+.@month+" cash point";
  17. mes "Your cash point "+#CASHPOINTS+".";
  18. next;
  19. switch(select("register 24 hours:register 1 week:register 1 month:No, Thanks.")) {
  20. case 1:
  21. if (#CASHPOINTS < .@day) {
  22. mes "[ VIP NPC ]";
  23. mes "Your Cash points not enough,";
  24. mes ""+.@day+" cash point to get VIP Service.";
  25. close;
  26. }
  27. set #CASHPOINTS, #CASHPOINTS - .@day;
  28. atcommand "@vip +24h "+strcharinfo(0)+"";
  29. mes "[ VIP NPC ]";
  30. mes "Enjoy your VIP Service.";
  31. dispbottom "Your current cash point now"+#CASHPOINTS+".";
  32. close;
  33.  
  34. case 2:
  35. if (#CASHPOINTS < .@week) {
  36. mes "[ VIP NPC ]";
  37. mes "Your Cash points not enough,";
  38. mes ""+.@week+" cash point to get VIP Service.";
  39. close;
  40. }
  41. set #CASHPOINTS, #CASHPOINTS - .@week;
  42. atcommand "@vip +7d "+strcharinfo(0)+"";
  43. mes "[ VIP NPC ]";
  44. mes "Enjoy your VIP Service.";
  45. dispbottom "Your current cash point now"+#CASHPOINTS+".";
  46. close;
  47.  
  48. case 3:
  49. if (#CASHPOINTS < .@month) {
  50. mes "[ VIP NPC ]";
  51. mes "Your Cash points not enough,";
  52. mes ""+.@month+" cash point to get VIP Service.";
  53. close;
  54. }
  55. set #CASHPOINTS, #CASHPOINTS - .@month;
  56. atcommand "@vip +1m "+strcharinfo(0)+"";
  57. mes "[ VIP NPC ]";
  58. mes "Enjoy your VIP Service.";
  59. dispbottom "Your current cash point now"+#CASHPOINTS+".";
  60. close;
  61.  
  62. case 4:
  63. mes "[ VIP NPC ]";
  64. mes "Ok, Thank You.";
  65. close;
  66. }
  67. }
  68.  
  69. // --------------------------------------------------
  70. //  Duplicates:
  71. // --------------------------------------------------
  72. alberta,33,240,4    duplicate(VIP System)   VIP System#alb  109
  73. aldebaran,146,116,4 duplicate(VIP System)   VIP System#alde 109
  74. amatsu,205,87,4 duplicate(VIP System)   VIP System#ama  109
  75. ayothaya,212,172,6  duplicate(VIP System)   VIP System#ayo  109
  76. comodo,191,161,4    duplicate(VIP System)   VIP System#com  109
  77. einbech,55,36,6 duplicate(VIP System)   VIP System#einbe    109
  78. einbroch,72,206,4   duplicate(VIP System)   VIP System#einbr    109
  79. geffen,127,66,4 duplicate(VIP System)   VIP System#gef  109
  80. gonryun,162,126,4   duplicate(VIP System)   VIP System#gon  109
  81. hugel,102,148,4 duplicate(VIP System)   VIP System#hug  109
  82. izlude,128,152,4    duplicate(VIP System)   VIP System#izl  109 //Pre-RE: (132,120)
  83. jawaii,248,134,4    duplicate(VIP System)   VIP System#jaw  109
  84. lighthalzen,154,104,4   duplicate(VIP System)   VIP System#lhz  109
  85. louyang,205,105,6   duplicate(VIP System)   VIP System#lou  109
  86. manuk,272,150,6 duplicate(VIP System)   VIP System#man  109
  87. mid_camp,216,286,4  duplicate(VIP System)   VIP System#mid  109
  88. morocc,146,89,4 duplicate(VIP System)   VIP System#mor  109
  89. moscovia,226,195,4  duplicate(VIP System)   VIP System#mos  109
  90. niflheim,199,180,4  duplicate(VIP System)   VIP System#nif  109
  91. payon,178,109,4 duplicate(VIP System)   VIP System#pay  109
  92. rachel,138,122,4    duplicate(VIP System)   VIP System#rac  109
  93. splendide,198,153,4 duplicate(VIP System)   VIP System#spl  109
  94. umbala,97,148,3 duplicate(VIP System)   VIP System#umb  109
  95. veins,211,120,4 duplicate(VIP System)   VIP System#ve   109
  96. xmas,142,139,6  duplicate(VIP System)   VIP System#xmas 109
  97. yuno,164,50,4   duplicate(VIP System)   VIP System#yuno 109
  98.  
  99. // --------------------------------------------------
  100. //  Duplicates (Renewal):
  101. // --------------------------------------------------
  102. brasilis,199,225,4  duplicate(VIP System)   VIP System#bra  109
  103. dewata,202,190,6    duplicate(VIP System)   VIP System#dew  109
  104. dicastes01,196,197,6    duplicate(VIP System)   VIP System#dic  109
  105. malangdo,137,116,6  duplicate(VIP System)   VIP System#mal  109
  106. malaya,228,195,4    duplicate(VIP System)   VIP System#ma   109
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement