function serverCmdSoundAll(%client,%sound)
{
for(%i = 0;%i < ClientGroup.getCount(); %i++)
{
%c = ClientGroup.getObject(%i);
if(!isObject(%sound) || %sound.getClassName() !$= "AudioProfile")
return;
if(%sound.description.isLooping)
return;
%c.play2d(%sound);
}
}
So you would have to type "/SoundAll someAudioDatablock"
Referenced Space Guy's Event_playSound mod for this.