Begin DEM_sailorscriptIf ( GameHour > 21 ) If ( GameHour < 24 ) Enable EndifEndifIf ( GameHour > 0 ) If ( GameHour < 6 ) Enable EndifEndifIf ( GameHour > 6 ) If ( GameHour < 21 ) Disable EndifEndifIf ( Onactivate == 1) Return Messagebox "They ignore you." Endif End
It should activate or deactivate a person depending on the time of day.
But I'm getting a Right Eval error. Which is weird, because it used to work.