Hi, can someone please check this script. It seems i can't make it work.
Im newbie on this scipting thing.
- script Fountain -1,{
OnWhisperGlobal:
if (getgmlevel() >= 65) goto admin;
mes "Use this wisely!";
close;
admin:
mes "[Fountain]";
switch(select("Start Event:Not today")) {
case 1:
next;
mes "[Fountain]";
mes "Ok then.";
close2;
goto L_announce;
case 2:
next;
mes "[Fountain]";
mes "Bye...";
close;
}
L_announce:
announce "[Fountain Event] is about to start in Poring Market!",bc_blue;
initnpctimer;
end;
OnTimer10000:
announce "Those who want to Join please proceed to the center of Poring Market! ",bc_blue;
end;
OnTimer20000:
announce "I will summon 100 Treasure Chests that contains cool items inside!",bc_blue;
end;
OnTimer30000:
announce "Last call to those who like to join!",bc_blue;
end;
OnTimer40000:
announce "Last 10 seconds.",bc_blue;
end;
OnTimer45000:
announce "Last 5 seconds.",bc_blue;
end;
OnTimer46000:
announce "Last 4 seconds.",bc_blue;
end;
OnTimer47000:
announce "Last 3 seconds.",bc_blue;
end;
OnTimer48000:
announce "Last 2 seconds.",bc_blue;
end;
OnTimer49000:
announce "Last 1 second.",bc_blue;
end;
OnTimer50000:
announce "Time's Up! Start summoning now!",bc_blue;
end;
OnTimer51000:
goto L_Start;
end;
L_Start: areamonster "poring_w02",90,87,108,75,1798,100;
killmonsterall "poring_w02","All";
end;
}