Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.43 KB | None | 0 0
  1. - script LMS#disable -1,{
  2.  
  3. OnInit:
  4. disablenpc "Mr. Banker";
  5. disablenpc "All Job Manager";
  6. end;
  7. }
  8.  
  9. - script LMS -1,{
  10.  
  11. OnClock0000:// Edit this to what ever you want. note : OnClock0000 is 12 midnight and OnClock1200 is 12 Noon
  12. OnClock0100:
  13. OnClock0200:
  14. OnClock0300:
  15. OnClock0400:
  16. OnClock0500:
  17. OnClock0600:
  18. OnClock0700:
  19. OnClock0800:
  20. OnClock0900:
  21. OnClock1000:
  22. OnClock1100:
  23. OnClock1200:
  24. OnClock1300:
  25. OnClock1400:
  26. OnClock1500:
  27. OnClock1600:
  28. OnClock1700:
  29. OnClock1800:
  30. OnClock1900:
  31. OnClock2000:
  32. OnClock2100:
  33. OnClock2219:
  34. OnClock2300:
  35. goto startlmsevent;
  36.  
  37. startlmsevent:
  38. pvpoff "guild_vs3";
  39. announce "Mr. Manager: Ang Labanan ng mga POGI event will be starting shortly.",0;
  40. sleep2 5000;
  41. announce "Mr. Manager: Those who want to play, please proceed to Prontera and Register.",0;
  42. sleep2 5000;
  43. announce "Mr. Manager: After 1 Minute the Registration will close.",0;
  44. enablenpc "All Job Manager";
  45. initnpctimer;
  46. end;
  47.  
  48. OnTimer30000:
  49. pvpoff "guild_vs3";
  50. announce "Mr. Manager: Last 30 seconds.",0;
  51. sleep2 5000;
  52. announce "Mr. Manager: If you want to join please Register in Prontera.",0;
  53. end;
  54.  
  55. OnTimer50000:
  56. pvpoff "guild_vs3";
  57. announce "Mr. Manager: Last 10 seconds.",0;
  58. end;
  59.  
  60. OnTimer55000:
  61. pvpoff "guild_vs3";
  62. announce "Mr. Manager: 5.",0;
  63. end;
  64.  
  65. OnTimer56000:
  66. pvpoff "guild_vs3";
  67. announce "Mr. Manager: 4.",0;
  68. end;
  69.  
  70. OnTimer57000:
  71. pvpoff "guild_vs3";
  72. announce "Mr. Manager: 3.",0;
  73. end;
  74.  
  75. OnTimer58000:
  76. pvpoff "guild_vs3";
  77. announce "Mr. Manager: 2.",0;
  78. end;
  79.  
  80. OnTimer59000:
  81. pvpoff "guild_vs3";
  82. announce "Mr. Manager: 1.",0;
  83. end;
  84.  
  85. OnTimer60000:
  86. pvpoff "guild_vs3";
  87. announce "Mr. Manager: Time's up.",0;
  88. end;
  89.  
  90. OnTimer61000:
  91. pvpoff "guild_vs3";
  92. disablenpc "All Job Manager";
  93. donpcevent "Mr. Banker::OnEnable";
  94. stopnpctimer;
  95. end;
  96. }
  97. //---------All Job Registration---------------
  98. prontera,155,183,5 script All Job Manager 468,{
  99.  
  100. mes "[Mr. Manager]";
  101. mes "Hello What can I do for you?";
  102. next;
  103. menu "Register",-,"What is LMS?",what,"Leave",leave;
  104. next;
  105. mes "[Mr. Manager]";
  106. mes "Thankyou for registering Mr. " + strcharinfo(0) + ", Have fun!";
  107. warp "guild_vs3",0,0;
  108. end;
  109. what:
  110. mes "[Mr. Manager]";
  111. mes "LMS is also known as Last Man Standing Event";
  112. next;
  113. mes "[Mr. Manager]";
  114. mes "LMS is also like a PvP.";
  115. mes "The only difference is at LMS you will get 50 TCG Card if you are the Last Man Standing at the arena.";
  116. next;
  117. mes "[Mr. Manager]";
  118. mes "That's all";
  119. close;
  120. leave:
  121. mes "[Mr. Manager]";
  122. mes "I hope you will register next time";
  123. close;
  124.  
  125.  
  126. }
  127.  
  128. //--------------------------
  129.  
  130. //--------------------------
  131. guild_vs3,49,49,6 script Mr. Banker 56,{
  132.  
  133. mes "[Banker]";
  134. mes "Congrats. You've won.";
  135. next;
  136. announce "Mr. Manager: We have a winner! well done "+strcharinfo(0)+".",0;
  137. getitem 7227,50; // Change This item id to what ever you want . item id,amount
  138. dispbottom "You Received 50x TCG Card for winning the LMS Event.";
  139. mes "You will return now";
  140. warp "prontera",155,180;
  141. disablenpc "Mr. Banker";
  142. close;
  143. end;
  144. OnEnable:
  145. mapannounce "guild_vs3","Mr. Manager:The Last Man Standing Event will start shortly",0;
  146. sleep2 5000;
  147. mapannounce "guild_vs3","Mr. Manager:But before we start this is just a few reminders..",0;
  148. sleep2 5000;
  149. mapannounce "guild_vs3","Mr. Manager:Using Cloaking , Hiding is strictly not allowed..",0;
  150. sleep2 5000;
  151. mapannounce "guild_vs3","Mr. Manager: Only the Last Man Standing will win this event!!",0;
  152. sleep2 5000;
  153. mapannounce "guild_vs3","Mr. Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0;
  154. sleep2 5000;
  155. goto L_Start;
  156. end;
  157. L_Start:
  158. if(getmapusers("guild_vs3") == 1) goto L_Champ;
  159. if(getmapusers("guild_vs3") == 0) goto L_None;
  160. if(getmapusers("guild_vs3") > 1) {
  161. mapannounce "guild_vs3","Mr. Manager: Get ready at the count of 5 we will start!....",0;
  162. sleep2 5000;
  163. mapannounce "guild_vs3","Mr. Manager: 5",0;
  164. sleep2 5000;
  165. mapannounce "guild_vs3","Mr. Manager: 4",0;
  166. sleep2 4000;
  167. mapannounce "guild_vs3","Mr. Manager: 3",0;
  168. sleep2 3000;
  169. mapannounce "guild_vs3","Mr. Manager: 2",0;
  170. sleep2 2000;
  171. mapannounce "guild_vs3","Mr. Manager: 1",0;
  172. sleep2 1000;
  173. gvgon "guild_vs3";
  174. goto timer;
  175. end;
  176. }
  177. timer:
  178. initnpctimer;
  179. end;
  180.  
  181. OnTimer1000:
  182. end;
  183.  
  184. OnTimer1100:
  185. if(getmapusers("guild_vs3") == 1) goto L_Champ;
  186. if(getmapusers("guild_vs3") > 2) goto timer;
  187. if(getmapusers("guild_vs3") == 2) goto champ;
  188. stopnpctimer;
  189. end;
  190.  
  191. champ:
  192. announce "Mr. Manager: Last 2 Brave warriors are still alive!",0;
  193. sleep2 10000;
  194. if(getmapusers("guild_vs3") == 1) goto L_Champ;
  195. if(getmapusers("guild_vs3") > 1) goto timer;
  196. end;
  197.  
  198. L_Champ:
  199. mapannounce "guild_vs3","Mr. Banker: Please talk to me to get your prize..",0;
  200. pvpoff "guild_vs3";
  201. enablenpc "Mr. Banker";
  202. end;
  203.  
  204. L_None:
  205. disablenpc "Banker";
  206. pvpoff "guild_vs3";
  207. end;
  208. }
  209. //----- Die = warp prt -----
  210. - script Killa_warp -1,{
  211.  
  212. OnPCDieEvent:
  213. getmapxy(.@map$,.@x,.@y,0);
  214. if(.@map$=="guild_vs3")
  215. {
  216. set #kill_point, 0;
  217. announce ""+strcharinfo(0)+" died, and out of the game!.",bc_all;
  218. warp "que_moon",0,0;
  219. end;
  220. }
  221. OnPCKillEvent:
  222. getmapxy(.@map$,.@x,.@y,0);
  223. if(.@map$=="guild_vs3")
  224. {
  225. set #kill_point,#kill_point+1;
  226. if ( #kill_point % 4 == 0) {
  227. announce ""+strcharinfo(0)+" have made 4 Consecutive Kills!!He will be granted an item",bc_all;
  228. getitem 607, 50;
  229. end;
  230. }
  231. }
  232. }
  233.  
  234.  
  235. // == Mapflags
  236. guild_vs3 mapflag nowarp
  237. guild_vs3 mapflag nowarpto
  238. guild_vs3 mapflag noteleport
  239. guild_vs3 mapflag nosave
  240. guild_vs3 mapflag nomemo
  241. guild_vs3 mapflag nobranch
  242. guild_vs3 mapflag pvp_noparty
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement