WookieWarlord said:Just use a try block thing.
Like:
Code:(try_begin), (eq, ":faction", "fac_kingdom_3"), (play_sound, "snd_sound1"), (else_try), (eq, ":faction", "fac_kingdom_4"), (play_sound, "snd_sound2"), (else_try), etc (try_end),
@Lumos: I win this round!
That's assuming he only wants the person who pressed the key to hear the sound. You need to send a message to the server to have it bounce a message to all the applicable clients and tell them to play the sound.