I think you should have read Annie's post in that topicHow to add schedule on this koe script. Example I want it to be 2x a day. 1 morning and 1 evening. Can anyone help?
How to configure the time:
L_start: <-- the label to start the event
change OnClock2000: into OnSat2000: to start this event on Saturday 8pm
L_end: <-- the label to end the event
change OnClock2030: into OnSat2030: to end this event on Saturday 8:30pm,
effectively makes this event runs 30 minutes
I add another line of l_start and l_end so my script looks like thisI think you should have read Annie's post in that topic
Just add OnClock label on both L_start and L_end to add another time
L_start:
--Add another Starting time here
OnClock2000: // everyday 8pm starts
L_end:
--Add another Ending time here
OnClock2030: // everyday 8:30pm ends
L_start:
--Add another Starting time here
OnClock2000: // everyday 8pm starts
L_end:
--Add another Ending time here
OnClock2030: // everyday 8:30pm ends
Just make sure that starting time will not overlap with ending time as well
[Error]: script error in file 'npc/custom/koescript.txt' line 55 column 1
set_label: dup label
52: killmonster "guild_vs1", "KoE::OnEmpDead";
53: maprespawnguildid "guild_vs1", $koegid, 2; // uncomment this lin e to kick non-owner off the map when event ends
54: end;
* 55: L_start:
^
56: OnClock1855: // everyday 8pm starts
57: if ( .start ) end;
58: gvgon "guild_vs1";
[Warning]: script error in file 'npc/custom/koescript.txt' line 125 column 52
This command is deprecated and it will be removed in a future update. Please see the script documentation for an alternative.
122: {
123: if ( !$koegid ) end;
124: mes "[King of Emperium Hill]";
* 125: mes "The Current King of Emperium Hill is the ["+ getguildname($ koegid) +"] guild.";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
126: close;
127: //OnInit: // Uncomment this line to make the emblem stay after @reloadsc ript
128: OnRevKoE:
Im trying it on my server so I set it up just for 1 minute to know that the script is working.@meruem you just need to add
+
OnClock0800 for example, not the whole L_start and L_end label
And don't do 1855 start then 1856 end, 1 min event?
We use essential cookies to make this site work, and optional cookies to enhance your experience.