ecco7777

Pokemon Turltle

Feb 6th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. c=peripheral.wrap("right")
  2. while true do
  3. e,player,message = os.pullEvent("chat")
  4. if player=="ecco7777" then
  5. if string.sub(message,1,string.find(message," ")-1)==os.getComputerLabel() then
  6. shell.run(string.sub(message,string.find(message," ")+1))
  7. end
  8. end
  9. end
Add Comment
Please, Sign In to add comment