Code:
Intended For: Rooms
Type: Enter
Numeric Argument: 100
Commands:
*check if the time is after 6 am and before 8 pm (just arbitrary values)
if %time.hour% > 6 && %time.hour% < 18
  if %random.2% == 1
    %send% %actor% As you enter the room you are forced to squint to be able to see through the blaring light.
  else
    %send% %actor% You are blinded by the blaring light of this room as you enter
    *blind the player for 10 game hours (also an arbitrary value)
    dg_affect %actor% blind on 10
  end
end
 
for TBA.