Difference between revisions of "Os.setComputerLabel"
From ComputerCraft Wiki
m (Moved to CAT:LuaCoreFunctions) |
m (Updated references from "os" to "OS") |
||
| Line 4: | Line 4: | ||
|args=[[string (type)|string]] label | |args=[[string (type)|string]] label | ||
|returns=Unknown | |returns=Unknown | ||
| − | |api= | + | |api=OS |
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Set the label of the computer this command is executed on to <var>label</var>. | |desc=Set the label of the computer this command is executed on to <var>label</var>. | ||
Revision as of 14:08, 30 November 2012
| Set the label of the computer this command is executed on to label. | |
| Syntax | os.setComputerLabel(string label) |
| Returns | Unknown |
| Part of | ComputerCraft |
| API | OS |
Examples
| set the Computer label to "My Computer" | |
| Code |
os.setComputerLabel("My Computer")
|