Switch to edit mode.
Name(s): off1: if (this.dark)
2: return player:tell("It's already dark.")
3: else
4: player:tell("You turn off the lights.")
5: this:announce(player:title(), " turns off the lights.")
6: this.dark = 1
7: this:look_self()
8: endif