on *:input:#:{ ; Don't trigger when sending commands. "/msg ... " and don't trigger on CTRL+ENTER if ($left($1,1) != /) && (!$ctrlenter) { msg $active $1- echo -a I posted text: $1- halt } }