[(fire1, fire2, fire3),6, 19] exec "fireon.sqs"
; fireon.sqs
_firearray = _this select 0
_sunset = _this select 1
_sundown = _this select 2
_timeofday = daytime
? (_timeofday <= _sunset) OR (_timeofday >= _sundown): "_x inflame true" foreach _firearray
exit
untested and not sure about the correct daytime format, but i guess you see the way.