Umn, if by works you mean "lol it echos your active channel" then yes, you're absolutely right.

Otherwise no, you're entirely wrong. It seems to me this person wants to tie the timer to the channel. In which case said person should be passing along the channel name in the timer as mentioned by someone else.

alias _test { var %chan = $1 | echo -a Chan: %chan $+ , Network: $network }

.timer 1 10 _test $!( $chan ,0)



(Note, I use $!( $chan ,0) there, because "#" is in fact a valid channel, so if the channel is "#" then the timer will attempt to evaluate it, and it'll be null because mIRC evaluates # as $chan.)