Set

From ComputerCraft Wiki
Jump to: navigation, search

Added by ComputerCraft 1.77, the set command allows manipulation of system settings, such as the defaults listed here. Changes are automatically saved to the .settings file, and will hence also be automatically re-applied on the next boot.

Specifying a value of "nil" completely unsets a setting. Doing this to a system default setting means that it will take on its original value when the system is next restarted.


Grid paper.png  Example
Disables shell auto-completion.
Code
set shell.autocomplete false