on *:TEXT:!command*:*:{ if (!$istok(-cm1 -cmd2 -cm3,$2,32)) msg $nick Usage : !command -cm1, -cm2 or -cm3 else { ;your script here } }