I found this in the forum
announceI would like something similar but istead of announce TEXT to a different channel I want to play a sound (.wav file) when some user on a channel type a certain TEXT
something like
on 1:call me:*:#CHAN1: {
if ($nick == billgates) { sound/ PlayThisSoundfile.wav $1- }
}
I know this i completly wrong but I think you´ll understand
billgates say "call me" in #CHAN-1
and
mom say "hello" in #CHAN-2
in booth cases I want to hear a soundfile played, but not when they or any other person say something.