Advertisement
virtualdxs

ChaosCraft Greeter Program

Apr 13th, 2015
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. --Official ChaosCraft Greeter Program (mc23.serverminer.com:26023 Tekkit)
  2. sensor = peripheral.wrap("top")
  3. mon = peripheral.wrap("bottom")
  4. mon.setTextScale(1.5)
  5. mon.setBackgroundColor(colors.blue)
  6. mon.setTextColor(colors.red)
  7. while 1 do
  8. mon.clear()
  9. mon.setCursorPos(1,1)
  10. players = sensor.getPlayerNames()
  11. player = players[1]
  12. if player=="777blue" then
  13. player = "Kiley"
  14. elseif player=="VirtualDXS" then
  15. player = "Duncan"
  16. elseif player=="beardoge108" then
  17. player = "Kevin"
  18. end
  19. if player then
  20. mon.write("Welcome, ")
  21. mon.write(player)
  22. mon.write("!")
  23. end
  24. sleep(5)
  25. end
  26. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement