- 0
Sign in to follow this
Followers
0
How to not attach a timer to a character (using +x hours)
Asked by
Helena
-
Recently Browsing 0 members
No registered users viewing this page.

Hi hercules!
Could a kind scripter please be of help? I'm trying to attach a timer to the server and not to one character. I know how onclock and onminute work, but I am specifically looking for a script that will give a 2x drop bonus for the 24 hours after something was achieved.
I tried using sleep2 as well, but the unfortunate problem I run into is that as soon as the character logs off before (in this samples case) 10 seconds have passed, the bonus would just remain while I really want it to wear off whether the character is online or not.
Help is much appreciated!
[Etc...]announce "The server will now have the drop rates increased to 2x for the coming 24 hours!",bc_all; setbattleflag("item_rate_common", 200 ); dispbottom "Setting to 2x"; sleep2 10000; // not the accurate time atcommand "@reloadbattleconf"; end;Edited by HelenaShare this post
Link to post
Share on other sites