Commandblock API
|
|||||||||||
| Returns the command from a commandblock.
|
|||||||||||
| Syntax | commandblock.getCommand() | ||||||||||
| Returns | string command | ||||||||||
| Part of | CC:Tweaked (source) | ||||||||||
| API | commandblock | ||||||||||
| |||||||||||
|
|||||||||||
| Run a command from a commandblock.
|
|||||||||||
| Syntax | commandblock.runCommand() | ||||||||||
| Returns | boolean success string error | ||||||||||
| Part of | CC:Tweaked (source) | ||||||||||
| API | commandblock | ||||||||||
| |||||||||||
|
|||||||||
| Set the command of a commandblock.
|
|||||||||
| Syntax | commandblock.setCommand(
|
||||||||
| Returns | nil | ||||||||
| Part of | CC:Tweaked (source) | ||||||||
| API | commandblock | ||||||||
| |||||||||
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.