How can I recognise when a command is typed that does not exist?
#Verify each first word/command that starts with a "!".
SWITCH($command)
CASE "!command":
#your code
BREAK
DEFAULT:
#privmsg("Command does not exist");
BREAK;
ENDSWITCH