Advertisement
Guest User

command

a guest
Aug 26th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. c = peripheral.wrap("bottom")
  2. s = peripheral.wrap("back")
  3. m = peripheral.wrap("left")
  4.  
  5. while true do
  6.  
  7.   event, player, msg = os.pullEvent("chat")
  8.   if msg == "command list" then
  9.     c.say("List of Commands")
  10.   end
  11.   if msg == "commands" then
  12.   c.say("poop in a can")
  13.  
  14.   end
  15.  
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement