Binaries/open

From Minux Wiki
Revision as of 00:33, 27 September 2024 by Shorun (talk | contribs)
Jump to navigation Jump to search

open binary is used to activate a redstone signal on a remote computer over the rednet network, mainly used to automate doors or password protect them.


usage:

open doorname duration


output:

if your user is allowed to, the computer will activate it's redstone output for the duration in seconds you provided.

if no duration is provided it defaults to 10 seconds

if duration is 0 then the computer will try to toggle, if it's not allowed to do this it wil default to 10 seconds.


eg: "open testdoor 5" opens testdoor for 5 seconds

"open testdoor 0" toggles the door open or closed