Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ONLY EDIT THE ID ! And the side ofc :D
- ID = "237"
- function player()
- ID, plaz = rednet.receive()
- ID, alternatelogic = rednet.receive()
- end
- while true do
- rednet.open("back")
- --ID, player = 'alternatelogic' or 'plaz' rednet.receive()
- player()
- m=peripheral.wrap("left")
- m.setTextScale(1)
- m.clear()
- m.setCursorPos(1,1)
- if alternatelogic == 'alternatelogic' then
- m.write("AlternateLogic has entered!")
- sleep(1)
- end
- if plaz == 'plaz' then
- m.write("Plazter has entered!")
- sleep(1)
- end
- if alternatelogic or Plazter ~= 'Plazter' or 'alternate' then
- m.write("Unauthorised person tryed to enter!")
- end
- end
- sleep(1)
Advertisement
Add Comment
Please, Sign In to add comment