prontera,156,182,4 script gold room 100,{
mes "[gold room]";
if(#timer == gettime(4)) {
switch(#timer) {
case 0: mes "You wont be able to use the gold room until monday 12:01am"; break;
case 1: mes "You wont be able to use the gold room until tuesday 12:01am"; break;
case 2: mes "You wont be able to use the gold room until wednesday 12:01am"; break;
case 3: mes "You wont be able to use the gold room until thursday 12:01am"; break;
case 4: mes "You wont be able to use the gold room until friday 12:01am"; break;
case 5: mes "You wont be able to use the gold room until saturday 12:01am"; break;
case 6: mes "You wont be able to use the gold room until sunday 12:01am"; break;
}
close;
}
mes "Ok i will warp you now to the gold room";
next;
warp "prontera",0,0;
attachnpctimer strcharinfo(0);
initnpctimer;
set #timer, gettime(4);
close;
OnTimer3600000: //1hour
warp "prontera",0,0;
dispbottom "time is up you are now warped!";
stopnpctimer;
end;
}