I have repeatedly written in these forums that llListen is not working properly. Am I the only one having problems with this function? A brief test across several regions using this script had mixed results. Some regions returned color change quickly. Some regions had long delay in chat. In Chiller, I get no color change at all and long delay in chat. This is an improvement over the past when the script would crash my viewer altogether. Please reply if you have had similar experiences or not.
default
{
state_entry()
{
llListen(0, "", NULL_KEY, ""); // start listening
}
listen(integer channel, string name, key id, string message)
{
if (message == "off") {
llSetColor(<0,0,0>,ALL_SIDES);
}
else {
if (message == "on")
llSetColor(<1,1,1>,ALL_SIDES);
}
}
}