Binaries/open

From Minux Wiki
Jump to navigation Jump to search

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

activates a redstone signal, can be used for anything that activates redstone.

can activate any side, but only one side.


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