LazyShpee

trolololol

Jun 15th, 2013
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. function pm(player, message)
  2.     ami.getPlayerByName(player).sendChat(message)
  3. end
  4.  
  5. function players()
  6.     return ami.getPlayerUsernames()
  7. end
  8.  
  9. ami = peripheral.wrap('top')
  10.  
  11. while true do
  12.     local m = read()
  13.     for i, p in pairs(players()) do
  14.         pm(p, m)
  15.     end
  16. end
Advertisement
Add Comment
Please, Sign In to add comment