Why not use $calc


on 1:TEXT:*!math*:#:{
/describe $chan gets out his abacus at $nick $+ 's Request
/var %solution $calc($2-)
/msg $chan the solution to $2- is %solution
}