Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m = peripheral.wrap("bottom")
- mon = peripheral.wrap("right")
- y = 1
- while true do
- e,player,message = os.pullEvent("chat")
- print ( player .. ":" .. message )
- x = player .. ":" .. message
- mon.write(x)
- y = y + 1
- if y > 25 then
- y = 1
- mon.clear()
- end
- mon.setCursorPos(1,y)
- --if player == "_SkypeHiker_" then
- if message == "ecco" then
- rs.setOutput("left", true)
- end
- if player == "ecco7777" then
- rs.setOutput("left", false)
- --end
- end
- sleep(0.2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement