on *:action:*pimp slap*:#:{ if ($me isin $1-) { splay sound.wav } }

When you /splay (by default) the sound you play must be in the mIRC folder.

For further help, see:

/help on action
/help /splay
/help if then else


Hope this helps smile

Regards,