For an ON INPUT event, I'd recommend checking $ctrlenter. Also, you should be using /say, not just /echo, or you won't send the text off to the channel... unless that was your intention?
on *:INPUT:#:{
if (($ctrlenter) || ($left($1,1) == /)) { return }
etc
}