on *:text:!calc*:#: { notice $nick The answer is: $bytes($calc($2-),d)) } elseif ($2- == $null) { notice $nick The syntax is: !calc :: IE: !calc 5 + 5 }