20 posts
Posted 06 August 2012 - 06:33 AM
dont wanna download with trouble?
os.pullEvent = os.pullEventRaw
print "Disk Needed" –This can be any message saying that it needs a disk
sleep(10) –any time u want before shutin down
os.shutdown()
shell.run "shell"
print "Unlocked" – could be any message
redstone.setOutput ("SIDE", true)
sleep(5) –time for it to stay open,can be set to another #
redstone.setOutput ("SIDE", false)
os.shutdown()
21 posts
Posted 07 August 2012 - 03:47 PM
you have to make that disk have the program named startup.
1 posts
Posted 08 August 2012 - 11:54 PM
put this on disk startup then you have bypass
os.pullEvent
177 posts
Location
CLGD
Posted 09 August 2012 - 12:22 AM
This is cool but i suggest just making the pc not needed to be opened and make it use disk labels and eject the disk when the door opens
20 posts
Posted 09 August 2012 - 03:58 AM
i know,but thats the code to input to your disk for a program named startup,i will fix that
thx
20 posts
Posted 09 August 2012 - 04:03 AM
i forgot to put that code for that,i only posted the simple code,i will make it more advanced when i start to learn more programming such as wireless rednet,and more compicated lua,im still learning proggraming here,i am working on LockerAPI/program to save your programs on a disk that requires code/pass to use and store files,i will be testing and posting it,fixerpro
20 posts
Posted 13 November 2012 - 05:01 PM
put this on disk startup then you have bypass os.pullEvent
but that wont work,the door wont open,it will just unlock the computer,not the door XD
222 posts
Location
Canada
Posted 13 November 2012 - 06:20 PM
put this on disk startup then you have bypass
os.pullEvent
Try: os.pullEvent = os.pullEventRaw
also, To the creator of the thread, are you just learning Lua?
248 posts
Posted 13 November 2012 - 06:56 PM
put this on disk startup then you have bypass
os.pullEvent
Try: os.pullEvent = os.pullEventRaw
also, To the creator of the thread, are you just learning Lua?
I guess he is:
i forgot to put that code for that,i only posted the simple code,i will make it more advanced when i start to learn more programming such as wireless rednet,and more compicated lua,im still learning proggraming here,i am working on LockerAPI/program to save your programs on a disk that requires code/pass to use and store files,i will be testing and posting it,fixerpro
1243 posts
Location
Indiana, United States
Posted 14 November 2012 - 10:25 AM
Please, please don't clutter with these things. :/
I know you're learning, but this board is stuffed with basically worthless programs. No offense intended.
20 posts
Posted 02 February 2013 - 05:36 PM
this is my old program,plz check out my newer ones
admins plz lock or delete my post