Use an alias to do your job, and just call it in your event, here is an exemple :

Code:
on *:text:*:#:dojob $nick $chan $1-
on *:action:*:#:dojob $nick $chan $1-
on *:notice:*:#:dojob $nick $chan $1-

alias dojob {
;$1 is the nick
;$2 is the channel
;$3 is the text
...
} 

Last edited by Wims; 09/11/08 06:26 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel