It was a typo indeed, but the point is that you don't need to 'set' the variable, which make it a global variable (it exists until you unset it).
The line Tomao gave should work

Last edited by Wims; 27/10/11 11:15 AM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel