so the script i want the light control to go in works pretty much like this-
```
whatever = 0;
while(1)
{
if(whatever > 0)
{
whatever--;
//light "on" code here
}
if(whatever == 0)
{
//light off code here
}
wait .5;
}
```
i put the above example of how my script works so you can see that adding a trigger to the light is no good. (least i think thats the case anyway).
any help would be appreciate.
Thanks
i solved this myself. if you want to know how just hit me up on ugx waw discord with@Phil81334