//Created by youtube
prontera,155,185,3 script Find the Naruto 1_F_PRIEST,{
mes "[ Find the Naruto ]";
if ( getgmlevel() < 80 ) {
if ( .Event == false )
mes "There is no Find the Naruto event.";
else {
mes "There is a Find the Naruto event on now!";
mes "Location: "+ .map$;
mes "Prize: " + getitemname(.ItemID);
mes "Number of Naruto: " + .Naruto;
}
close;
}
mes "Hello "+strcharinfo(0)+"! Please customize this event:";
Main:
next;
mes "[ Find the Naruto ]";
switch ( select ( "Start Event:End Event" ) ) {
case 1:
mes "Starting the event now...";
.Event = true;
close2;
goto OnStart;
case 2:
mes "Ending the event now...";
if ( .Event )
announce ""+strcharinfo(0)+" ended Find the Naruto Event!", bc_all;
killmonster .map$, "Find the Naruto::OnMobKilled";
.Event = false;
close;
}
OnMinute20:
OnStart:
announce "It's time to kill the Naruto!",0;
sleep 1000;
.map$ = callfunc ( "F_Rand",
// "splendide","hugel","yuno","comodo","xmas","aldebaran","payon","geffen","morocc"
"izlude");
sleep 1000;
announce "The Naruto has landed in "+ .map$ +"!", bc_all;
sleep 10000;
announce "1 Naruto have spawned in "+ .map$ +"!", bc_all;
sleep 10000;
monster .map$, 128,147, "Naruto", PORING, 1, "Find the Naruto::OnMobKilled"; // change poring into your mvp, and the coordinate
sleep 600000; // 1 minute nobody kill
if ( .Event == true ) {
killmonster .map$, "Find the Naruto::OnMobKilled";
mapannounce .map$, "Nobody kill the Naruto.", bc_map;
.Event = false;
}
end;
OnMobKilled:
mapannounce .map$,"We've got a winner: " + strcharinfo(0) + " Congrats!", bc_map;
// set zeny,zeny+10000000;
getitem Update_Ticket, 10;
.Event = false;
awake strnpcinfo(0);
end;
}