FutureProg functions

getregister

Registercomputer function, computer program, standard futureprog

getregister overload 1

CollectionItem getregister(CollectionItem thing, Text variable)
Available in
  • computer function
  • computer program
  • standard futureprog
This function retrieves the 'register variable' specified for a thing that you specify. Which register variables are available are defined on a per-type basis. See the REGISTER command in game for more information. The return type is as it appears in the register command, not actually a CollectionItem.
ParameterTypeDescription
thing CollectionItem The thing whose register variables you want to retrieve
variable Text The register variable that you want to get. Must be a string literal.