Jump to content
  • 0

Question

Posted

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;
}

 

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...