Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p = peripheral.wrap("bottom")
- p.clear()
- num=1
- X = 6
- Y = 30
- textColor = 0xFFFFFF
- while true do
- event, command, nick = os.pullEvent()
- if event=="chat_command" then
- text = p.addText(X, Y, nick..": "..command, textColor)
- Y=Y+10
- if Y > 220 then
- p.clear()
- Y=30
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement