what is wrong with this
public text v1 · immutable
vector on = <1.0,1.0,1.0>;
vector off = <0.0,0.0,0.0>;
default
{
state_entry()
{
llWhisper(0, "Light Activated");
llListen(0,"gate1","","Winner");
llListen(0,"","","off");
}
listen(integer channel, string name, key id, string m)
{
if (m == "Winner")
{
llSetColor(on,ALL_SIDES);
}
if (m == "off")
{
llSetColor(off,ALL_SIDES);
}
}
}