From ComputerCraftJump to navigation Jump to search
Returns the command from a commandblock.
Note: The commandblock peripheral is disabled by default. You have to enable it in the config before using it.
|Get Command and print it.|
local commandblockr = peripheral.find("command") print(commandblock.getCommand())