insarius Posted October 10, 2012 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 106 Reputation: 3 Joined: 09/21/12 Last Seen: August 20, 2015 Share Posted October 10, 2012 Hey all, We would like to script timed events, and maybe a timer on our healer aswell. Our events would be simply a NPC popping up every 2 weeks with a treasure hunt, giving EXP in the end. I can script the latter but I don't know how to properly execute the timer. And I'd like a 1 hour timer for my healer. Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 10, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 10, 2012 (edited) On<weekday><hour><minute>: OnDay<month><day>: You can use OnSun1500: for Sunday 3PM but for 2 weeks once is a bit tricky. Example: prontera,150,150,1 script Valentine 53,{ mes "Happy valentine!"; close; OnDay0214: hideoffnpc; end; OnDay0215: hideonnpc; end; OnInit: hideonnpc; end; } NPC above will only appears when 0214 (February 14th as server time) and hide after 2015 (Feb 15th). Edited October 10, 2012 by darristan Quote Link to comment Share on other sites More sharing options...
insarius Posted October 10, 2012 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 106 Reputation: 3 Joined: 09/21/12 Last Seen: August 20, 2015 Author Share Posted October 10, 2012 On<weekday><hour><minute>: OnDay<month><day>: You can use OnSun1500: for Sunday 3PM but for 2 weeks once is a bit tricky. Example: prontera,150,150,1 script Valentine 53,{ mes "Happy valentine!"; close; OnDay0214: hideoffnpc; end; OnDay0215: hideonnpc; end; OnInit: hideonnpc; end; } NPC above will only appears when 0214 (February 14th as server time) and hide after 2015 (Feb 15th). Thanks Darristan. I guess we'll just reduce the exp reward and make it weekly. Quote Link to comment Share on other sites More sharing options...
Question
insarius
Hey all,
We would like to script timed events, and maybe a timer on our healer aswell.
Our events would be simply a NPC popping up every 2 weeks with a treasure hunt, giving EXP in the end.
I can script the latter but I don't know how to properly execute the timer.
And I'd like a 1 hour timer for my healer.
Link to comment
Share on other sites
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.