I've attached the ID in the proper place but the Plugin command seems to still be off.
I'm trying to turn the light off when the player hits a spot
I'm trying to turn the light off when the player hits a spot

else if (x.length > 0 && this._clId === undefined) this._clId = x;
else if (x[0] === "x" && this._clXOffset === undefined) this._clXOffset = Number(x.substr(1, x.length));
else if (x[0] === "y" && this._clYOffset === undefined) this._clYOffset = Number(x.substr(1, x.length)); else if (x[0] === "x" && this._clXOffset === undefined) this._clXOffset = Number(x.substr(1, x.length));
else if (x[0] === "y" && this._clYOffset === undefined) this._clYOffset = Number(x.substr(1, x.length));
else if (x.length > 0 && this._clId === undefined) this._clId = x;Number(x);
+x;Plugin Command : Tint set #ff0000
Erase Event