Binaries/open: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
open [[Binaries|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. | open [[Binaries|binary]] is used to activate a redstone signal on a remote computer over the [[Manuals/authinstall|rednet network]], mainly used to automate doors or password protect them. | ||
Line 14: | Line 14: | ||
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. | 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 |
Revision as of 00:33, 27 September 2024
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