TovLenin

summoner

Dec 22nd, 2013
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. warp = peripheral.wrap("left")
  2. p = peripheral.wrap("top")
  3. while true do
  4. event, command, nick = os.pullEvent()
  5. if event=="chat_command" and command == "summon" then
  6.  warp.set_mode(1)
  7.  warp.summon_all()
  8.  print(nick)
  9. end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment