I tested that already and it works fine. The problem is that I want to stop it mid-way while the event is still being announced.
LMS_Admin:
if (!.Status){
mes "[Minion]";
mes "My master has no invasion planned at the moment. Do you wish to schedule an invasion?";
menu "- Start Event",M_RFYL,"- Spectate",M_warp,"- End Event",M_EndEvent;
}else {
mes "[Minion]";
mes "My master has no invasion planned at the moment. Do you wish to schedule an invasion?";
menu "- Spectate",M_warp,"- End Event",M_EndEvent;
}
close;
M_RFYL:
mes "[Minion]";
mes "Hold on while I call my master.";
close2;
goto StartEvent;
M_warp:
mes "[Minion]";
mes "Very well, I will warp you to the map!";
warp "quiz_01",42,369;
close;
M_EndEvent:
mes "[Minion]";
mes "Ok master, I will stop the event for you right away!";
next;
set .Status,0;
disablenpc "Zombie Master";
disablenpc "Shihiro";
killmonsterall "quiz_01";
areawarp "quiz_01",10,10,450,450,"prontera",156,191;
stopnpctimer;
announce "END TESTING",0;
end;
// =========================
StartEvent: //Announcement to notify all players
// =========================
set .Status,1;
disablenpc "Shihiro";
killmonsterall "quiz_01";
enablenpc "Zombie Master";
announce "Test1!",0;
sleep 5000;
announce "Test2!",0;
sleep 5000;
announce "Test3!",0;
sleep 5000;
announce "Test4!",0;
sleep 1000;
announce "Zombie Vs. Novice event has now begun!",0;
disablenpc "Zombie Master";
http://oi68.tinypic.com/20hws1s.jpg
OnTimer0500: // 5 seconds?