Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent=os.pullEventRaw
- --Variables
- passcheck=tonumber(469)
- --START
- rednet.open("bottom")
- term.clear()
- term.setCursorPos(1,1)
- print("Magpie Security v2|")
- print("------------------'")
- write("password: ")
- ui=read("*")
- rednet.send(passcheck, ui)
- id,msg=rednet.receive()
- if msg == "yes" then
- term.clear()
- term.setCursorPos(1,1)
- print("Magpie Security|")
- print("---------------'")
- else
- print("wrong")
- end
Advertisement
Add Comment
Please, Sign In to add comment