and when I use this
// www.lsleditor.org by Alphons van der Heijden (SL: Alphons Jano)integer listener;integer channel = 7;string msg = "play";string soundName = "sound";key ownerid;default{ state_entry() { listener = llListen(channel, "", ownerid, ""); //listener = llListen(channel, "", llGetOwner(), "");// can do it this way also } listen(integer channel, string name, key id, string message) { llPlaySound(soundName,1.0); }}
It still plays a sound but from people's objects too.