Guest User

Untitled

a guest
Jul 3rd, 2013
765
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. //Created by youtube
  2.  
  3. prontera,x,x,x script Find the Baphomet 736,{
  4.  
  5. mes "[ Find The Baphomet ]";
  6. if(getgmlevel() < 50) {
  7. if(.Event==0) mes "There is no Find the Baphomet event.";
  8. else {
  9. mes "There is a Find the Baphomet event on now!";
  10. mes "Location: "+ .Map$;
  11. mes "Prize: " + getitemname(.ItemID);
  12. mes "Number of Baphomets: " + .Baphomets;
  13. }
  14. close;
  15. }
  16. mes "Hello "+strcharinfo(0)+"! Please customize this event:";
  17. Main:
  18. next;
  19. mes "[ Find The Baphomet ]";
  20. switch(select("Item [" + getitemname(.ItemID) + "]:Start Event:End Event")) {
  21. case 1:
  22. mes "Which item would you like the Baphomet to drop?";
  23. mes "Please input the item ID:";
  24. input .ItemID;
  25. goto Main;
  26. case 2:
  27. mes "Starting the event now...";
  28. set .Event,1;
  29. close2;
  30. goto OnStart;
  31.  
  32. case 3:
  33. mes "Ending the event now...";
  34. if(.Event) announce ""+strcharinfo(0)+" ended Find the Baphomet Event!",bc_all;
  35. killmonster .Map$,"All";
  36. set .Event,0;
  37. close;
  38. }
  39.  
  40. OnMinute51: //CHANGE THIS TO THE MINUTE YOU WOULD LIKE THIS EVENT TO LOAD!
  41. OnMinute20:
  42. OnStart:
  43. announce "Find the Baphomet : It's time to play Find the Baphomet!",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 .Baphomets,"5";
  60. if ($@ran2 == 4) set .Baphomets,"4";
  61. if ($@ran2 == 3) set .Baphomets,"3";
  62. if ($@ran2 == 2) set .Baphomets,"2";
  63. if ($@ran2 == 1) set .Baphomets,"1";
  64. announce "Find the Baphomet : The Baphomet has spawned in "+ .Map$ +"!",0;
  65. sleep2 10000;
  66. announce "Find the Baphomet : " + .Baphomets + " Baphomets have spawned in "+ .Map$ +"!",0;
  67. sleep2 10000;
  68. monster .Map$,0,0,"PLEASE DONT HIT ME!",1039,.Baphomets,"Find the Baphomet::OnMobKilled";
  69. end;
  70.  
  71. OnMobKilled:
  72. mapannounce .Map$,"We've got a winner: " + strcharinfo(0) + " Congrats!",0;
  73. set zeny,zeny+10000000;
  74. getitem .7227,10;
  75. set .Event,0;
  76. end;
  77.  
  78. }
Advertisement
Add Comment
Please, Sign In to add comment