Archive > AO official modules

Alternate Timer implementation

<< < (2/5) > >>

Khalem:
Propose adding this to SVN trunk at the very least.

Alreadythere:
Added to 0.5 and 0.4 lines.

Khalem:
Reminder for myself and Alreadythere.

Module missing help.

Parfet:
i made a start of help for this plugin myself, off the 1st(?) post, before the relay changes


--- Code: --- $this -> help['description'] = 'Creates Timers.';
$this -> help['command']['timer #[mshd] title']="- adds a timer for # minutes (m), seconds (s), hours (h) or days (d). If no time unit is added it's # seconds.";
$this -> help['command']['timer #[:##[:##[:##]]] title']="- adds a timer using the format days:hours:minutes:seconds, with the lowest time unit always being seconds (so 1:20 means 1min 20secs, 1:03:05 means 1hour 3mins 5secs). On every : there have to follow exactly two numbers.";
$this -> help['command']['timers']="- lists all current timer for the bot and offers support to delete them. " . ucfirst(strtolower($this -> bot -> settings -> get("Timer", "DeleteRank"))) . " can delete timers of other users, users can always delete their own timers or a timer of one of their registered alts.";

--- End code ---

granted this is mostly cut&paste from the first post

Newsworthy:
Is there a way to reduce the amount of times it notifies you of the timer running out?

ie, removing the 10second counter, and having say, 5min, 1min, 30sec, end? Thanks :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version