iFoxkun Posted December 17, 2011 Posted December 17, 2011 OnClock: (On Military Hour) OnInit: (On Server Start Up) OnPCLogout OnPCLogin OnTouch OnTimer#### (On NPC Timer) For days, use gettime command Quote
Magic-Maker Posted December 17, 2011 Posted December 17, 2011 (edited) OnClock0000: if(gettime(5) == 1 && gettime(6) == 1) { announce "Happy New Year",0; } end; Change 0000 after OnClock to time your want, Change Date on 1 of gettime(5) and Change Month on 1 of gettimer(6) Edited December 17, 2011 by Magic-Maker Quote
randell1993 Posted December 17, 2011 Author Posted December 17, 2011 im wondering what codes i can combine so it will run every sunday at 8pm Quote
Magic-Maker Posted December 17, 2011 Posted December 17, 2011 (edited) If what you want is the certain weekday and certain time you can use On.. label like this On<weekday><Hour><Minute>: weekdays are Sun,Mon,Tue,Wed,Thu,Fri,Sat. For example , Sunday 8 PM OnSun2000: announce "Sunday 08:00 PM",0; end; it will announce "Sunday 08:00 PM" On Sunday 8 PM. Edited December 17, 2011 by Magic-Maker Quote
Question
randell1993
what code thnx
4 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.