os.setComputerLabel

Sets the computer's label to the passed string or to nothing if nil or an empty string was passed.

ExampleSet the Computer's Label
Sets the computer's label to the user's input.
Code
os.setComputerLabel(read())
Output
none

os.setComputerLabel
Function
Syntax
os.setComputerLabel(
  • label... : string
)

Returns nil
API os
Source CC:Tweaked (source)
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.