Advertisement
Guest User

Untitled

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