If you want the same sound
on *:text:*:#:{- if $istok(tony kali mary miles,$nick,32) { splay soundfile.wav }
}or you can put the nicks into a %var
/set %friends tony kali mary mileson *:text:*:#:{- if $istok(%friends,$nick,32) { splay soundfile.wav }
}Different sounds
on *:text:*:#:{- if $nick == tony { splay tony.wav }
elseif $nick == kali { splay kali.wav }
elseif $nick == mary { splay mary.wav }
elseif $nick == miles { splay miles.wav }
}