Simply remove any comma in the string when making the calculation :
Code:
on *:TEXT:!calc ?*:#test:notice $nick  $2- =7 $calc($remove($2-,$chr(44)))
I also edited the code so you should be able to use space like "5 + 6"

Last edited by Wims; 31/07/10 05:59 AM.

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