I'm using the starlight and the HostDelayedCommand does not work for me to change the color of the semaphore, any help?
Thanks for answering!
Code:
Thanks for answering!
Code:
<?php
Event OnLapperStart()
RegisterZoneAction( SEMAFOROS1, AU1 , 22 , -830 , 3 , semaforo1,"" );
EndEvent
?>
<?php
Sub semaforo1( $userName,$ZoneID)
startlightcontrol(5,149,22,1);
HostDelayedCommand( 5, semaforo3 );
EndSub
Sub semaforo3( $userName,$ZoneID)
startlightcontrol(5,149,22,8);
EndSub
?>