on *:text:*calc*:#:{ if ($1 == !) { if ($2 != $null) { notice $nick $+, $calc($2-) } else { notice $nick You dont have anything to make me calculate. } } elseif ($1 == @) { if ($2 != $null) { msg $chan $nick $+, $calc($2-) $+ . } else { notice $nick You dont have anything to make me calculate. } } }