Jump to content
  • 0

Question

Posted

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. :)

2 answers to this question

Recommended Posts

Posted (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 by darristan
Posted

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. :)

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...