Posted 10 August 2012 - 06:02 AM
I've made theese myself, in my spare time. I will list them in the way they were made ;)/>/>
It was over a 8 day period of time, so i didn't get to make more.
If you guys want me to make a download for theese, just tell me.
(You may have to remove the the sentences after the –'s)
This was a script from a tutorial, with stuff added onto it.
Now, it can work in collaboration with another computer to make an alarm.
Most, if not all, of the options go first.
And this is the other side for the alarm.
NOTE~~~
Hook this computer up to note blocks set on a high note.
Use a repeater to make one noteblock go off later(I Believe its 3rd setting)
This is a non-password door, Simple and to the point.
I lost a few, I was making a new world and forgot to backup the scripts, i found them but it was a old backup.
Link to Turtle scripts. (Though they are unfinished)
I am open to suggestions, for computers, and turtles alike!(I'd like them in a PM)
Throw 'em at me!
It was over a 8 day period of time, so i didn't get to make more.
If you guys want me to make a download for theese, just tell me.
(You may have to remove the the sentences after the –'s)
This was a script from a tutorial, with stuff added onto it.
Now, it can work in collaboration with another computer to make an alarm.
Most, if not all, of the options go first.
os.pullEvent = os.pullEventRaw --makes it impossible to Terminate.
rednet.open("top") --change to the side your wireless part is on
local side = "back" --Side power goes through.
local password = "password" -- change to desired password
local opentime = 3 --change to desired time you want the door open for
rs.setOutput (side,true)
term.clear()
term.setCursorPos(1,1)
write("Password: ")
local input = read("*")
if input == (password) then
term.clear()
term.setCursorPos(1,1)
print("Correct")
rs.setOutput (side,false)
sleep(opentime)
os.reboot()
else
-- this part is the alarm piece
term.clear()
term.setCursorPos(1,1)
print("Password incorrect")
rednet.broadcast ("Security Alert!")
sleep(2)
os.reboot()
end
And this is the other side for the alarm.
NOTE~~~
Hook this computer up to note blocks set on a high note.
Use a repeater to make one noteblock go off later(I Believe its 3rd setting)
rednet.open("left") --change to side of the wireless part
term.clear()
term.setCursorPos(1,4)
write("Turn on the alarm? Y/N: ")
local input = read()
if input == "Y" then --You MUST say Y, case sensitive, change it to whatever you want
term.clear()
term.setCursorPos(1,4)
write("Armed")
sleep(2)
term.clear()
term.setCursorPos(1,1)
rednet.receive()
for i=0, 100, 1 do -- change 100 to how many times you want the alarm to beep before restarting
rs.setOutput ("back",true) --change to desired side of current
sleep(0.5)
rs.setOutput ("back",false) --change this too, same side
sleep(0.5)
end
os.reboot()
end
This is a non-password door, Simple and to the point.
write("Open door?: ")
local input = read()
if input == "Y" then -- case sensitive
rs.setOutput("back", true) -- change to desired side of power
os.reboot()
end
I lost a few, I was making a new world and forgot to backup the scripts, i found them but it was a old backup.
Link to Turtle scripts. (Though they are unfinished)
I am open to suggestions, for computers, and turtles alike!(I'd like them in a PM)
Throw 'em at me!