Pf. You didn't even test this. I can tell that it does not work just by looking at the code. %data will never exist because you never made it an argument in the server commands. Also, even if serverCmdSound did work, it would always try to play the sound "AudioProfile". This would also be better if you input the UI name, not the datablock. As most people don't know any datablock names.