- script EManager -1,{
end;
OnWhisperGlobal:
if(getgmlevel()>=60) {
goto M_EVENTS;
mes "ACCESS DENIED";
}
M_EVENTS:
menu "Hide and Seek",M_HAS,"Maze Event",M_MAZE,"King of the Hill",M_KOTH,"Cancel",M_EXIT;
// -- Event Menu's -- //
M_HAS:
mes "[Event Manager]";
mes "What would you like to do?";
next;
menu "Start Event",M_STARTHAS,"End Event",M_ENDHAS,"Cancel",M_EXIT;
M_MAZE:
mes "[Event Manager]";
mes "What would you like to do?";
next;
menu "Start Event",M_STARTMAZE,"End Event",M_ENDMAZE,"Cancel",M_EXIT;
M_KOTH:
mes "[Event Manager]";
mes "What would you like to do?";
next;
menu "Start Event",M_STARTKOTH,"End Event",M_ENDKOTH,"Cancel",M_EXIT;
// -- Event Start Menus -- //
M_STARTHAS:
mes "[Event Manager]";
mes "Please select a map.";
next;
menu "Prontera Field",M_PRTFILD,"Cancel",M_EXIT;
M_STARTMAZE:
mes "[Event Manager]";
mes "Please select a map.";
next;
menu "Nighoggur's Nest",M_NIDNEST,"Cancel",M_EXIT;
M_STARTKOTH:
warp "mjolnir_04",69,301;
announce "A GM has started the King of the Hill Event!",0;
sleep 5000;
announce "Please make your way to Ayothaya to join.",0;
enablenpc "KOTHWARP"; <---- ADD THIS TO SCRIPTS_WARPS.TXT
sleep 5000;
announce "The portal will close in 3 minutes.",0;
sleep 60000;
announce "The portal will close in 2 minutes. Make your way to Ayothaya to join.",0;
sleep 60000;
announce "The portal will close in 1 minute. Make your way to Ayothaya to join.",0;
sleep 60000;
disablenpc "KOTHWARP";
announce "The portal is now closed.",0;
end;
// -- Map Menu's -- //
M_PRTFILD:
warp "prt_fild01",328,82;
announce "A GM Has started the Hide and Seek Event.",0;
sleep 5000;
announce "Gather in Ayothaya, the portal will open in 2 Minutes.",0;
sleep 60000;
announce "Gather in Ayothaya, the portal will open in 1 minute.",0;
sleep 60000;
enablenpc "PRTFILD"; <---- ADD THIS TO SCRIPTS_WARPS.TXT
announce "The portal is open! Go find the GM!",0;
end;
M_NIDNEST:
warp "2@nyd",199,178;
announce "A GM Has started the Maze Event.",0;
sleep 5000;
announce "All players must wait in the starting area until the portal closes.",0;
sleep 5000;
enablenpc "NIDNEST"; <---- ADD THIS TO SCRIPTS_WARPS.TXT
announce "Make your way to Ayothaya to join. The portal will close in 3 minutes",0;
sleep 60000;
announce "Make your way to Ayothaya to join. The portal will close in 2 minutes.",0;
sleep 60000;
announce "Make your way to Ayothaya to join. The portal will close in 1 minute.",0;
sleep 60000;
disablenpc "NIDNEST";
announce "The portal is now closed.",0;
end;
// -- Ending Event Menu's -- //
M_ENDHAS:
warp "ayothaya",208,166; <--- CHANGE TO YOUR MAIN TOWN
disablenpc "PRTFILD";
announce "A player has found the GM! The Hide and Seek event is now over.",0;
end;
M_ENDMAZE:
warp "ayothaya",208,166; <--- CHANGE TO YOUR MAIN TOWN
enablenpc "RTNAYOTHAYA"; <---- ADD THIS TO SCRIPTS_WARPS.TXT
announce "A player has reached the GM! The Maze event is now over.",0;
sleep 20000;
disablenpc "RTNAYOTHAYA";
end;
M_ENDKOTH:
warp "ayothaya",208,166; <--- CHANGE TO YOUR MAIN TOWN
announce "A player has reached the top of the hill! The King of the Hill event is now over.",0;
end;
// -- Closing Menu -- //
M_EXIT:
close;
}
This is the script that I use, you'll just have to change the warps to match your main town and add warps to your scripts_warps.txt so that the warp portals appear in your main town when you start the event.
Add any events you wish that are not in the NPC.