Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --os.pullEvent = os.pullEventRaw
- rednet.open("back")
- local protocol = "gate-security"
- local serverID = 1 --rednet.lookup(protocol, "server")
- local keyword = "quit"
- while true do
- term.clear()
- term.setCursorPos(1,1)
- write("Password: ")
- local input = read("*")
- if input == keyword then
- break
- else
- rednet.send(serverID, input, protocol)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement