Posted 04 March 2012 - 03:59 AM
I have not been able to download the mod yet, however, I will during April.
I've seen videos of how to make a locked door that requires a password. But, for my server. I want there to be a secrurity overide code that I will be able to use to unlock any door on the server with a password.
I've taken some notes and this is the jist of what I think MIGHT be good for what I'm looking for. I haven't used code before so forgive me if I have this totally wrong.
> edit Startup
[ print ("Enter Password") ]
> edit blah blah blah
[ print ("Correct Password")
redstone.setOutput("left/right", true )
sleep(6)
redstone.setOutput("left", false ) ]
>edit Secrurity Override
[ print ("Enter Security Overide Code") ]
>edit topsecretsecuritycode
[ print ("Door Open")
redstone.setOutput("left/right", true )
sleep(6)
redstone.setOutpit("left", false ) ]
Anything written in "[blah]" is in its respective edit.
Tell me what would be better and if I have anything wrong at all.
I've seen videos of how to make a locked door that requires a password. But, for my server. I want there to be a secrurity overide code that I will be able to use to unlock any door on the server with a password.
I've taken some notes and this is the jist of what I think MIGHT be good for what I'm looking for. I haven't used code before so forgive me if I have this totally wrong.
> edit Startup
[ print ("Enter Password") ]
> edit blah blah blah
[ print ("Correct Password")
redstone.setOutput("left/right", true )
sleep(6)
redstone.setOutput("left", false ) ]
>edit Secrurity Override
[ print ("Enter Security Overide Code") ]
>edit topsecretsecuritycode
[ print ("Door Open")
redstone.setOutput("left/right", true )
sleep(6)
redstone.setOutpit("left", false ) ]
Anything written in "[blah]" is in its respective edit.
Tell me what would be better and if I have anything wrong at all.