Jump to content
  • 0

Correct On<day><time> script for daily event


AinsLord

Question


  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

did i do it right regarding this code

	OnMon2000: donpcevent "Event_Bombring::OnStart"; end; 
	OnTue1400: donpcevent "Event_Dice::OnStart"; end;
	OnTue2300: donpcevent "Event_Dice::OnStart"; end;
	OnWed0900: donpcevent "Poring_Catcher::OnStart"; end;
	OnWed1800: donpcevent "Poring_Catcher::OnStart"; end;
	OnThur1200: donpcevent "Event_NvZ::OnStart"; end;
	OnThur2100: donpcevent "Event_NvZ::OnStart"; end;
	OnFri1600: donpcevent "Poring_Hunter::OnStart"; end;
	OnFri2300: donpcevent "Poring_Hunter::OnStart"; end;
	OnSat1800: donpcevent "Event_LMS::OnStart"; end;

coz im confused if onThu or onThur but the rest was good?

thnx in advance

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1554
  • Reputation:   239
  • Joined:  08/03/12
  • Last Seen:  

5 hours ago, AinsLord said:

did i do it right regarding this code


	OnMon2000: donpcevent "Event_Bombring::OnStart"; end; 
	OnTue1400: donpcevent "Event_Dice::OnStart"; end;
	OnTue2300: donpcevent "Event_Dice::OnStart"; end;
	OnWed0900: donpcevent "Poring_Catcher::OnStart"; end;
	OnWed1800: donpcevent "Poring_Catcher::OnStart"; end;
	OnThur1200: donpcevent "Event_NvZ::OnStart"; end;
	OnThur2100: donpcevent "Event_NvZ::OnStart"; end;
	OnFri1600: donpcevent "Poring_Hunter::OnStart"; end;
	OnFri2300: donpcevent "Poring_Hunter::OnStart"; end;
	OnSat1800: donpcevent "Event_LMS::OnStart"; end;

coz im confused if onThu or onThur but the rest was good?

thnx in advance

OnClock<hour><minute>:
OnMinute<minute>:
OnHour<hour>:
On<weekday><hour><minute>:
OnDay<month><day>:

This will execute when the server clock hits the specified date or time. Hours
and minutes are given in military time. ('0105' will mean 01:05 AM). Weekdays
are Sun,Mon,Tue,Wed,Thu,Fri,Sat. Months are 01 to 12, days are 01 to 31.
Remember the zero.

https://github.com/rathena/rathena/blob/master/doc/script_commands.txt

  • Upvote 1
Link to comment
Share on other sites

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.

×
×
  • Create New...