Is it possible to have something happen only once?

I want a room that, when entered for the first time notifies the player that the bulb has gone out. But I don't want that to happen each time they enter the room. The same goes for a sound que when the player enters another room, but again, I only want it to happen the first time the room is entered. Is there any way to code that into the rooms?

The rooms can have their own script, you could use variables to know.

This is how the room script would work:

on enter do
if entered_room_bulb==0 then
entered_room_bulb = 1
say β€œThe bulb appears to be out.”
1 Like