I was trying to change the way my script operates. So far it switches the light beacon ON on touch and switches it OFF on touching it again. I was trying to make it switch ON/OFF after saying something on the local chat, "lights" for example.
Here is my basic 'touch' script. On touch it changes particles to be invisible.
integer Toggle = FALSE;
if (Toggle == FALSE)