well i am using the script like this atm
on :TEXT: :#:{ if ($1 == !calc) msg $chan 3 calculating $2- = $calc($2-) }