The $chan is the issue.

Depending on where you create the timer depends on whether $chan has any meaning.

Are you creating this in an event, or just from the edit box?

If it is just from a channel's edit box, use '//timerNa....' to force mIRC to evaluate the line.

If it's from an event, show us the event trigger, and we'll tell you more.