Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function pm(player, message)
- ami.getPlayerByName(player).sendChat(message)
- end
- function players()
- return ami.getPlayerUsernames()
- end
- ami = peripheral.wrap('top')
- while true do
- local m = read()
- for i, p in pairs(players()) do
- pm(p, m)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment