I've made this for my server. It's not exactly what you want, but it works... Maybe it helps? xD
- script SoundBroadcast -1,{
end;
OnInit:
set .sfx$,"se_cock_02.wav";
bindatcmd "evbroadcast",strnpcinfo(0)+"::OnBroadcast",50,20;
end;
OnBroadcast:
if(.@atcmd_parameters$[0] == "")
dispbottom "@evbroadcast: Usage: @evbroadcast [message]";
else{
soundeffectall .sfx$,0;
announce strcharinfo(0)+": "+ .@atcmd_parameters$[0],bc_all;
}
end;
}