settings.copy

settings.copy
Function
Syntax
settings.copy(
  • name : string
)

Returns any value
API settings
Source CC:Tweaked (source)

Returns the value of a setting.

ExampleGet the value of a setting
Get the value of the setting "shell.autocomplete" and print it.
Code
<nowiki>print(settings.copy("shell.autocomplete"))</nowiki>
Output
true

,

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