settings.set

settings.set
Function
Syntax
settings.set(
  • name : string
  • value : any
)

Returns nil
API settings
Source CC:Tweaked (source)

Set the value of a setting.

ExampleSet the value of a setting
Set the value of the setting "shell.autocomplete" to false.
Code
<nowiki>settings.set("shell.autocomplete",false)</nowiki>

,

This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.