Hi all! I am a non-scripter, to say the least. The most I can do is take a script and change variables. That being said, I found the below script on the always-useful Outworldz site. It is a script where you drop several sound files into a prim, along with the script, and the script then plays these files randomly with the incidence of them being played being a controllable parameter. (In other words, out of 4 sound files, the script will play one of them every x to y seconds.) I love it, it's fabulous and does just what I want... except...

...every sim restart (which is obviously all the time in Kitely), the script stops working and I have to manually find all my invisible prims with sounds and reset them. Does anybody know a line or two of code to add to this script so that it resets itself on a sim-restart?

Here's the script and humble thanks in advance if anyone can fix this:

// Sound Prim Script - Intermittent//// Randomly picks a sound in inventory, plays it,// waits a random interval, repeats.//// Set this between 0.0 and 1.0float LOUDNESS = 0.5;//// Interval in seconds to be silent.// If you set these to be less than 10 seconds,// they default to 10 seconds.integer SHORTEST = 60;integer LONGEST = 180;//////////////////////////////////////////////////default{

// Sound Prim Script - Intermittent//// Randomly picks a sound in inventory, plays it,// waits a random interval, repeats.//// Set this between 0.0 and 1.0float LOUDNESS = 0.5;//// Interval in seconds to be silent.// If you set these to be less than 10 seconds,// they default to 10 seconds.integer SHORTEST = 60;integer LONGEST = 180;//////////////////////////////////////////////////default{