Code:
alias start start2 $chan $me
alias start2 timer $+ $1 1 2 begin
alias begin echo -a Triggered: $1

This script doesn't work, and I believe it's a bug in mIRC. I narrowed the script I was using to the three lines, but it still doesn't work.
When typing /start, it'll display "* Timer #chan activated", but after 2 seconds, it will not say "* Timer #chan halted". Instead, the script won't do anything.

$timer(#Chan).com = begin
$timer(#Chan).secs = 0 (After the first 2 seconds)

Thanks

EDIT:
Quote:

Tried the code I posted, it worked.

Here's the raw code I used, that didn't work. It probably has something to do with the alias name.
Code:
alias start unostart $chan $me
alias unostart timer $+ $1 1 30 unobegin $2
alias unobegin echo -a Triggered: $1


Last edited by Jyang; 19/01/08 08:25 PM.