Originally Posted By: Wims
Simply remove any comma in the string when making the calculation :
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"

I need the comas as well to work, cause many people in my channel use comas in their calculation.

Ah thanks Wims worked like a charm.I'd be greatfull if i could get comas in my answer as well .Removing comas is a great idea smile ,but i'd appreciate it if i could keep them in the answers smile

Last edited by lassyakjedi; 31/07/10 06:08 AM.