FutureProg functions

setlocked

Itemscomputer function, computer program, standard futureprog

setlocked overload 1

Boolean setlocked(Item lock, Boolean locked, Boolean echo)
Available in
  • computer function
  • computer program
  • standard futureprog
Changes a lock or lockable item from locked to unlocked if specified. True if the change was successfully applied.
ParameterTypeDescription
lock Item The item to be locked or unlocked
locked Boolean If true, set to locked. If false, set to unlocked
echo Boolean Whether to echo the change in state