Traffic Lights V2Description:This mod allows you to have fully functional traffic lights without any messy relay events!
Usage:Name your traffic lights (bricks) correspondingly:
-goLights1
-slowLights1
-stopLights1
-goLights2
-slowLights2
-stopLights2
The 1 lights will turn red as the 2 lights turn green, and vice versa.
Commands:/toggleTrafficLights: Admin only, turns on/off mod.
/setLightInterval: Admin only, must be greater than 10. Sets the interval for green lights, in seconds.
Updates:-Cleaned up a bit of code.
-Added isObject checks to avoid console spam.
DownloadIF YOU FIND A BUG: please stick it in my PM box!