perhaps something like this can help
on :text:!:?:{ if ($istok(%nicks,$nick,32)) { $right($1-,-1) } }
now you can use all functions like !nick !join !part !msg !notice !ctcp etc... =)