settings.copy
settings.copy Function | |
---|---|
Syntax settings.copy(
| |
Returns | any value |
API | settings |
Source | CC:Tweaked (source) |
Returns 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
|
,
Functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Lua |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CC:Tweaked |
|
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.