on !*:JOIN:#: { msg $chan <Your greeting> | halt } }
on *:TEXT:*word or phrase*:#: { beep 3 ;You could also choose /splay path\filename instead of beep 3 }