Code:
//var -s %a 12 % 0,%a $calc(12 % 0)

Quote:
* Set %a to 12 % 0
-
* Set %a to 0


When dividing by 0 or using modulo 0, variable routine doesn't return 0.

Tested on mIRC 7.15

Last edited by Wims; 17/11/10 06:00 PM.

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