Psst... He's talking about more than ifOn -> turnOff and ifOff -> turnOn.
He means like, checking if it's on, then doing a(n assumably) large number of events.
Even so,
Simple variable events would do.
well if you set the light to on, the light would be "on" so it would turn "off", and if it was "off" it would turn "on" and it would keep going, this is pointless to make, just use toggle event enabled, just 3 events. or about 8 in my opinon if you wanted to make it fancy. i will post a code
[0][On Activate][Disabled] - [Self] - [SetLight] - [PlayerLight]
[1][On Activate][Disabled] - [Self] - [Playsound] - [LightOn]
[2][On Activate][Disabled] - [Self] - [SetColor] - [White]
[3][On Activate][Disabled] - [Self] - [SetColorFX] - [Glow]
[4][On Activate][Enabled] - [Self] - [ToggleEventEnabled] - [1 2 3 5 6 7]
[5][On Activate][Enabled] - [Self] - [SetLight] - [None]
[6][On Activate][Enabled] - [Self] - [Playsound] - [LightOff]
[7][On Activate][Enabled] - [Self] - [SetColor] - [Black]
[8][On Activate][Enabled] - [Self] - [SetColorFX] - [None]