Hi.
Just wanna know which script commands is used to check the server's day of the week.
i mean if i want to start a script automatically every Sunday, which script command should i use for it ?
it is for fixing this script... :
- script no3jobswoe -1,{
OnInit:
setmapflag "aldeg_cas02",mf_loadevent;
end;
OnPCLoadMapEvent:
.@map$ = strcharinfo(3);
if ( getmapflag( .@map$,mf_gvg_castle ) ) {
if ( Class >= 4054 && gettime(3) == 21 ) {
mes "Today only 2nds Jobs are allowed to enter the castle.";
close2;
warp "SavePoint",0,0;
}
}
end;
}
Question
Yaoi
Hi.
Just wanna know which script commands is used to check the server's day of the week.
i mean if i want to start a script automatically every Sunday, which script command should i use for it ?
it is for fixing this script... :
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.