mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-08-03 11:07:23 -04:00
Updated Component Computer (markdown)
parent
bb20829dda
commit
134f629f50
@ -11,6 +11,7 @@ Callbacks:
|
||||
|
||||
Example use:
|
||||
```lua
|
||||
local component = require("component")
|
||||
local c = component.computer -- get primary computer, e.g. self
|
||||
print(c.isRunning()) -- definitely true if it's this computer
|
||||
c.stop() -- basically like computer.shutdown() if it's this computer
|
||||
|
Loading…
x
Reference in New Issue
Block a user