Code:
on *:text:!test*:#:{
    msg $chan This is a test
  }
}


I prefer to include the * after the command to allow people to type a message with the command use.

The only thing that drives me insane, is that if someone does "!testicles" the !test command still works. Is there a way to still allow !test* to work, but block extra characters with the command?