Advertisement
Guest User

Untitled

a guest
Jan 16th, 2012
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. //Created by marikitangakak
  2. //Edited and Revised by Lunar from MoonlightRO
  3. //Original Link: [url="http://www.eathena.ws/board/index.php?showtopic=243601"]http://www.eathena.w...howtopic=243601[/url]
  4. //Edited and Revised Script Link: [url="http://www.eathena.ws/board/index.php?showtopic=243753"]http://www.eathena.w...howtopic=243753[/url]
  5. //Please do not take this script as your own.
  6. splendide,185,200,4 script Find the Mushroom 1084,{
  7. mes "[ Find The Mushroom ]";
  8. if(getgmlevel() < 50) {
  9. if(.Event==0) mes "There is no Find the Mushroom event.";
  10. else {
  11. mes "There is a Find the Mushroom event on now!";
  12. mes "Location: "+ .Map$;
  13. mes "Prize: " + getitemname(.ItemID);
  14. mes "Number of Mushrooms: " + .Mushrooms;
  15. }
  16. close;
  17. }
  18. mes "Hello "+strcharinfo(0)+"! Please customize this event:";
  19. Main:
  20. next;
  21. mes "[ Find The Mushroom ]";
  22. switch(select("Item [" + getitemname(.ItemID) + "]:Start Event:End Event")) {
  23. case 1:
  24. mes "Which item would you like the Mushroom to drop?";
  25. mes "Please input the item ID:";
  26. input .ItemID;
  27. goto Main;
  28. case 2:
  29. mes "Starting the event now...";
  30. set .Event,1;
  31. close2;
  32. goto onstart;
  33. case 3:
  34. mes "Ending the event now...";
  35. if(.Event) announce ""+strcharinfo(0)+" ended Find the Mushroom Event!",bc_all;
  36. killmonster .Map$,"All";
  37. set .Event,0;
  38. close;
  39. }
  40. OnMinute51: //CHANGE THIS TO THE MINUTE YOU WOULD LIKE THIS EVENT TO LOAD!
  41. OnMinute20:
  42. onstart:
  43. announce "Find the Mushroom : It's time to play Find the Mushroom!",0;
  44. sleep2 1000;
  45. set $@ran, rand(1,11);
  46. if ($@ran == 11) set .Map$,"splendide";
  47. if ($@ran == 10) set .Map$,"hugel";
  48. if ($@ran == 9) set .Map$,"yuno";
  49. if ($@ran == 8) set .Map$,"comodo";
  50. if ($@ran == 7) set .Map$,"xmas";
  51. if ($@ran == 6) set .Map$,"aldebaran";
  52. if ($@ran == 5) set .Map$,"izlude";
  53. if ($@ran == 4) set .Map$,"payon";
  54. if ($@ran == 3) set .Map$,"geffen";
  55. if ($@ran == 2) set .Map$,"morocc";
  56. if ($@ran == 1) set .Map$,"prontera";
  57. sleep2 1000;
  58. set $@ran2, rand(1,5);
  59. if ($@ran2 == 5) set .Mushrooms,"5";
  60. if ($@ran2 == 4) set .Mushrooms,"4";
  61. if ($@ran2 == 3) set .Mushrooms,"3";
  62. if ($@ran2 == 2) set .Mushrooms,"2";
  63. if ($@ran2 == 1) set .Mushrooms,"1";
  64. announce "Find the Mushroom : The Mushroom has spawned in "+ .Map$ +"!",0;
  65. sleep2 10000;
  66. announce "Find the Mushroom : " + .Mushrooms + " Mushrooms have spawned in "+ .Map$ +"!",0;
  67. sleep2 10000;
  68. monster .Map$,0,0,"Don't kill me please!",1084,.Mushrooms,"Find the Mushroom::OnMobKilled";
  69. end;
  70. OnMobKilled:
  71. mapannounce .Map$,"We've got a winner: " + strcharinfo(0) + " Congrats!",0;
  72. set zeny,zeny+10000000;
  73. getitem .ItemID,2;
  74. set .Event,0;
  75. end;
  76. }
  77. prontera,136,171,4 script Super Mario... 1084,{
  78. mes "[Mushroom]";
  79. mes "Hi, look at you chat window!";
  80. dispbottom "Where's Mario? MEXICO!!";
  81. close;
  82. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement