on-offcode

noun
UK /ˌɒn ˈɒf kəʊd/
US /ˌɑːn ˈɔːf koʊd/

A code that can be turned on or off.

The teacher gave us an on-offcode to open the classroom game.


OTHER MEANINGS

2. A simple signal that has only two states, like yes or no.

The light uses an on-offcode: one means on, zero means off.

3. A secret word you can activate or deactivate.

He typed the on-offcode to start the robot.

4. A pattern of clicks that turns something on and then off.

The toy beeped an on-offcode when we pressed the button twice.