Advertisement
Guest User

Untitled

a guest
Jul 10th, 2013
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.81 KB | None | 0 0
  1. - script poring#announcer -1,{
  2.  
  3. OnInit:
  4. disablenpc "poringevent";
  5. hideonnpc "Poring Catcher#evnt2";
  6. end;
  7.  
  8. OnMinute30: // SET THE 30 TO THE MINUTE YOU WANT THE EVENT TO START EACH HOUR.
  9.  
  10. announce "Poring Catcher : It's time to play some Poring Catcher!",0;
  11. killmonster "poring_w01","All";
  12. sleep2 10000;
  13. announce "Poring Catcher : Please make your way to the centre of Prontera.",0;
  14. sleep2 10000;
  15. announce "Poring Catcher : After one minute the portal will close.",0;
  16. sleep2 10000;
  17. announce "Poring Catcher : Enter the warp portal now if you want to join.",0;
  18. enablenpc "poringevent";
  19. initnpctimer;
  20. end;
  21.  
  22.  
  23. OnTimer30000:
  24. announce "Poring Catcher : Last 30 seconds.",0;
  25. sleep2 5000;
  26. announce "Poring Catcher : Hurry to the centre of Prontera if you want to join.",0;
  27. end;
  28.  
  29. OnTimer50000:
  30. announce "Poring Catcher : Last 10 seconds.",0;
  31. end;
  32.  
  33. OnTimer55000:
  34. announce "Poring Catcher : 5.",0;
  35. end;
  36.  
  37. OnTimer56000:
  38. announce "Poring Catcher : 4.",0;
  39. end;
  40.  
  41. OnTimer57000:
  42. announce "Poring Catcher : 3.",0;
  43. end;
  44.  
  45. OnTimer58000:
  46. announce "Poring Catcher : 2.",0;
  47. end;
  48.  
  49. OnTimer59000:
  50. announce "Poring Catcher : 1.",0;
  51. end;
  52.  
  53. OnTimer60000:
  54. announce "Poring Catcher : Time's up. Portal Will Open again when a GM activates it.",0;
  55. end;
  56.  
  57. OnTimer61000:
  58. disablenpc "poringevent";
  59. donpcevent "Poring Catcher#evnt2::OnEnable";
  60. stopnpctimer;
  61. end;
  62. }
  63.  
  64. //--------------------------------------------------
  65.  
  66. prontera,152,156,0 warp poringevent 2,2,poring_w01,106,129
  67.  
  68. //--------------------------------------------------
  69.  
  70. poring_w01,100,127,4 script Poring Catcher#evnt2 715,{
  71.  
  72. //--------------------------------------------------
  73.  
  74. mes "[Poring Catcher]";
  75. if(PORING == 1) goto L_PORING;
  76. mes "Please tell me your name";
  77. next;
  78. input .@name$;
  79. if(.@name$ != strcharinfo(0)) {
  80. mes "[Poring Catcher]";
  81. mes "Are you sure thats your character name?";
  82. close;
  83. }
  84. mes "[Poring Catcher]";
  85. mes "Congrats. You've won.";
  86. close2;
  87. announce "Poring Catcher : All laugh at, "+.@name$+". - This player tried to cheat the system. Muhahahahaha!",0;
  88. warp "prontera",155,182;
  89. end;
  90.  
  91. L_PORING:
  92. mes "Please tell me your name";
  93. next;
  94. input .@name$;
  95. if(.@name$ != strcharinfo(0)) {
  96. mes "[Poring Catcher]";
  97. mes "Are you sure thats your character name?";
  98. close;
  99. }
  100. mes "[Poring Catcher]";
  101. mes "Congrats. You've won.";
  102. close2;
  103. announce "Poring Catcher : We have a winner, "+.@name$+". - Won 10 Arena Coins! & 5 Credits!",0;
  104.  
  105. getitem 20038,5; // SET THE 20085 TO THE ITEM ID OF YOUR PRIZE
  106. getitem 675,10; // SET THE 20085 TO THE ITEM ID OF YOUR PRIZE
  107. set PORING,0;
  108. warp "prontera",155,182;
  109. hideonnpc "Poring Catcher#evnt2";
  110. end;
  111.  
  112. OnEnable:
  113. mapannounce "poring_w01","Poring Catcher : I will be summoning 100 different Porings.",0;
  114. sleep2 10000;
  115. mapannounce "poring_w01","Poring Catcher : Only one of these Porings is the correct Poring.",0;
  116. sleep2 10000;
  117. mapannounce "poring_w01","Poring Catcher : The correct Poring is called [ Poring ], all the other Porings have different names.",0;
  118. sleep2 10000;
  119. mapannounce "poring_w01","Poring Catcher : Take your time because if you kill the wrong Poring, your out of the game.",0;
  120. sleep2 10000;
  121. mapannounce "poring_w01","Poring Catcher : The first player to kill the correct Poring wins.",0;
  122. sleep2 10000;
  123. mapannounce "poring_w01","Poring Catcher : That's that.. Now let's play...",0;
  124. goto L_Start;
  125. end;
  126.  
  127. L_Start:
  128. mapannounce "poring_w01","Poring Catcher : 5",0;
  129. sleep2 1000;
  130. mapannounce "poring_w01","Poring Catcher : 4",0;
  131. sleep2 1000;
  132. mapannounce "poring_w01","Poring Catcher : 3",0;
  133. sleep2 1000;
  134. mapannounce "poring_w01","Poring Catcher : 2",0;
  135. sleep2 1000;
  136. mapannounce "poring_w01","Poring Catcher : 1",0;
  137. sleep2 1000;
  138. mapannounce "poring_w01","Poring Catcher : Lets Do This!",0;
  139. areamonster "poring_w01",84,119,121,90,"Poring",1002,1,"poringwin::OnMobKilled";
  140. areamonster "poring_w01",84,119,121,90,"Pouring",1002,10,"poringlose::OnMobKilled";
  141. areamonster "poring_w01",84,119,121,90,"Proing",1002,10,"poringlose::OnMobKilled";
  142. areamonster "poring_w01",84,119,121,90,"Poiring",1002,10,"poringlose::OnMobKilled";
  143. areamonster "poring_w01",84,119,121,90,"Poing",1002,10,"poringlose::OnMobKilled";
  144. areamonster "poring_w01",84,119,121,90,"I am not Poring",1002,5,"poringlose::OnMobKilled";
  145. areamonster "poring_w01",84,119,121,90,"Gniriop",1002,1,"poringlose::OnMobKilled";
  146. areamonster "poring_w01",84,119,121,90,"Poring",1113,1,"poringlose::OnMobKilled";
  147. areamonster "poring_w01",84,119,121,90,"Poring",1062,1,"poringlose::OnMobKilled";
  148. areamonster "poring_w01",84,119,121,90,"Poriiing",1002,10,"poringlose::OnMobKilled";
  149. areamonster "poring_w01",84,119,121,90,"PoriNg",1002,10,"poringlose::OnMobKilled";
  150. areamonster "poring_w01",84,119,121,90,"Porong",1002,10,"poringlose::OnMobKilled";
  151. areamonster "poring_w01",84,119,121,90,"P0ring",1002,10,"poringlose::OnMobKilled";
  152. areamonster "poring_w01",84,119,121,90,"Por1ng",1002,10,"poringlose::OnMobKilled";
  153. areamonster "poring_w01",84,119,121,90,"Porng",1002,1,"poringlose::OnMobKilled";
  154. end;
  155. }
  156.  
  157. - script poringwin -1,{
  158.  
  159. OnMobKilled:
  160. dispbottom "Poring : Congratulations. You've got me.";
  161. set PORING,1;
  162. atcommand "@doommap";
  163. killmonster "poring_w01","All";
  164. mapannounce "poring_w01","Poring Catcher : Come to me and tell me your name.",0;
  165. hideoffnpc "Poring Catcher#evnt2";
  166. end;
  167.  
  168. }
  169.  
  170. - script poringlose -1,{
  171.  
  172. OnMobKilled:
  173. dispbottom "Poring Catcher : Wahaha, your a loser! - I wasnt the correct Poring.";
  174. warp "prontera",155,178;
  175. end;
  176.  
  177. }
  178.  
  179. // -- Mapflags
  180. poring_w01 mapflag nowarp
  181. poring_w01 mapflag nowarpto
  182. poring_w01 mapflag noteleport
  183. poring_w01 mapflag nosave
  184. poring_w01 mapflag nomemo
  185. poring_w01 mapflag nobranch
  186. poring_w01 mapflag noloot
  187. poring_w01 mapflag noskill
  188. poring_w01 mapflag nopenalty
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement