FutureProg functions
seton
Boolean seton(Item item, Boolean state, Boolean echo)
Contexts: computer function, computer program, standard futureprog
Sets the switched-on state of an on/off item component, equivalent to changing the component's SwitchedOn flag directly rather than running the player switch command. Returns false if the item is null, lacks the component, or was already in the requested state.
item: The item with an on/off component to switch.
state: The desired switched-on state.
echo: Reserved for echo behaviour; the current helper stores the state directly and does not emit switch-command echoes.
Contexts: computer function, computer program, standard futureprog
Sets the switched-on state of an on/off item component, equivalent to changing the component's SwitchedOn flag directly rather than running the player switch command. Returns false if the item is null, lacks the component, or was already in the requested state.
item: The item with an on/off component to switch.
state: The desired switched-on state.
echo: Reserved for echo behaviour; the current helper stores the state directly and does not emit switch-command echoes.