on *:TEXT:*:#:{ yahookiller TEXT $nick $chan $1- }
on *:ACTION:*:#:{ yahookiller ACTION $nick $chan $1- }
alias -l yahookiller {
; $1 = TEXT or ACTION
; $2 = NICK
; $3 = CHAN
; $4- = TEXT
if (@yahoo.com isin $strip($4-)) {
[task to perform]
}
}
The only really important thing i have done here is add $strip() incase thier using highlighting to attempt to avoid the detection.
I also passed the event type nick and channel as $1 $2 $3 only becuase I did. you dont really need them like that but might have a reason at least for $1 i doubt it tho.