Advertisement
Guest User

nsa

a guest
Oct 31st, 2014
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | None | 0 0
  1. c = peripheral.wrap("top")
  2. t = term
  3.  
  4. --Design
  5.  
  6. t.setBackgroundColor(colors.green)
  7. shell.run("clear")
  8. t.setBackgroundColor(colors.green)
  9. t.setTextColor(colors.red)
  10.  
  11. --Chatbox Abfrage / Chatlog speichern
  12.  
  13. while true do
  14. e,player,message = os.pullEvent("chat")
  15. print(player,": ",message)
  16.  
  17. fs.open(chatlog,"w")
  18. fs.write("chat")
  19. fs.close()
  20. end
  21.  
  22.  
  23. --Only for the Security of Golgatar :)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement