Added check for extra "!"s in custom commands

Signed-off-by: Ravn T-M <ravn.tm@gmail.com>