on *:text:!calc *:#:{ if ($2- isletter) { notice $nick Invalid equation. | halt } if ($2- != $null) { notice $nick $2- = $calc($2-) } }