randell1993 Posted December 17, 2011 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 76 Reputation: 4 Joined: 11/15/11 Last Seen: January 2 Share Posted December 17, 2011 what code thnx Quote Link to comment Share on other sites More sharing options...
iFoxkun Posted December 17, 2011 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 189 Reputation: 16 Joined: 11/20/11 Last Seen: January 4, 2014 Share 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 Link to comment Share on other sites More sharing options...
Magic-Maker Posted December 17, 2011 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 23 Reputation: 3 Joined: 12/10/11 Last Seen: December 14, 2012 Share 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 Link to comment Share on other sites More sharing options...
randell1993 Posted December 17, 2011 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 76 Reputation: 4 Joined: 11/15/11 Last Seen: January 2 Author Share Posted December 17, 2011 im wondering what codes i can combine so it will run every sunday at 8pm Quote Link to comment Share on other sites More sharing options...
Magic-Maker Posted December 17, 2011 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 23 Reputation: 3 Joined: 12/10/11 Last Seen: December 14, 2012 Share 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 Link to comment Share on other sites More sharing options...
Question
randell1993
what code thnx
Link to comment
Share on other sites
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.