Hi Nillen,

Please don't take this as a criticism because I think you're a valuable contributor to this forum, but I just wanted to make you aware of something.

The help file says that the syntax for setting a variable using the /var command is:

/var [-switches] %variable = <value>

Usually you can get away with not using the = sign, but not using the = has historically caused problems. See these threads:

https://forums.mirc.com/ubbthreads.php?ub...true#Post177377
https://forums.mirc.com/ubbthreads.php?ubb=showflat&Number=177387&page=1#Post177387

If you ever do run into such a problem then it will cause you major headaches in trying to figure out what is wrong with the script because it does work the vast majority of the time, but occasionally quirks in the parser have caused it not to work.

Interestingly, the issues highlighted in those threads are no longer a problem, but it seems like it is safer to use the correct format.

Cheers