You can keep the functionality of that event by making sure to first check if the line starts with a / or if $ctrlenter was pressed:

Code:
if ($left($1,1) == /) || ($ctrlenter) { return }