The code is only removing the commas when passing parameters to $calc since $calc doesn't handle them..

edit : if you want the commas after the calculation, you can use $bytes :

on *:TEXT:!calc ?*:#test:notice $nick  $2- =7 $bytes($calc($remove($2-,$chr(44))),bd)

Last edited by Wims; 31/07/10 06:44 AM.

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