Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new_4-4,131,169,5 script Find the Baphomet 736,{
- mes "[ Find The Baphomet ]";
- if(getgmlevel() < 50) {
- if(.Event == 0) mes "There is no Find the Baphomet event.";
- else {
- mes "There is a Find the Baphomet event on now!";
- mes "Location: "+ .Map$;
- mes "Prize: " + getitemname(7227);
- mes "Number of Baphomets: " + .Baphomets;
- }
- close;
- }
- mes "Hello "+strcharinfo(0)+"! Please customize this event:";
- next;
- switch(select("Start Event:End Event")) {
- case 1:
- mes "Starting the event now...";
- .Event = 1;
- callsub OnStart;
- close;
- case 2:
- mes "Ending the event now...";
- if(.Event) announce ""+strcharinfo(0)+" ended Find the Baphomet Event!",bc_all;
- killmonsterall .Map$;
- .Event = 0;
- close;
- }
- OnMinute45: //CHANGE THIS TO THE MINUTE YOU WOULD LIKE THIS EVENT TO LOAD!
- OnStart:
- announce "Find the Baphomet : It's time to play Find the Baphomet!",0;
- sleep 1000;
- .ran = rand(1,11);
- if (.ran == 11) .Map$ = "splendide";
- if (.ran == 10) .Map$ = "hugel";
- if (.ran == 9) .Map$ = "yuno";
- if (.ran == 8) .Map$ = "comodo";
- if (.ran == 7) .Map$ = "xmas";
- if (.ran == 6) .Map$ = "aldebaran";
- if (.ran == 5) .Map$ = "izlude";
- if (.ran == 4) .Map$ = "payon";
- if (.ran == 3) .Map$ = "geffen";
- if (.ran == 2) .Map$ = "morocc";
- if (.ran == 1) .Map$ = "prontera";
- sleep2 1000;
- .ran2 = rand(1,5);
- if (.ran2 == 5) .Baphomets = 5;
- if (.ran2 == 4) .Baphomets = 4;
- if (.ran2 == 3) .Baphomets = 3;
- if (.ran2 == 2) .Baphomets = 2;
- if (.ran2 == 1) .Baphomets = 1;
- announce "Find the Baphomet : The Baphomet has spawned in "+ .Map$ +"!",bc_all;
- sleep 10000;
- announce "Find the Baphomet : " + .Baphomets + " Baphomets have spawned in "+ .Map$ +"!",bc_all;
- sleep 10000;
- monster .Map$,0,0,"PLEASE DONT HIT ME!",1039,.Baphomets,strnpcinfo(0)+"::OnMobKilled";
- end;
- OnMobKilled:
- mapannounce .Map$,"We've got a winner: " + strcharinfo(0) + " Congrats!",bc_all;
- Zeny += 100000000;
- getitem 7227,30;
- .Event = 0;
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment