Set

From ComputerCraft Wiki
Revision as of 03:37, 11 June 2016 by Bomb Bloke (Talk | contribs) (Created page with "Added by ComputerCraft 1.77, the '''set''' command allows manipulation of system settings, such as the defaults listed here. Changes are au...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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