Advertisement
nayoshi12

Main

Jun 16th, 2014
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. os.loadAPI("a")
  2. local s = "top"
  3. local st1 = false
  4. local st2 = true
  5. local modem = peripheral.wrap("left")
  6. modem.open(2)
  7. local event, a ,b,c,d = os.pullEvent("modem_message")
  8. if d == "witch" then
  9.  turtle.select(1)
  10.  turtle.dropUp()
  11.  a.rsmeh(s, st1)
  12. elseif d == "skelly" then
  13.  turtle.select(2)
  14.  turtle.dropUp()
  15.  a.rsmeh(s, st1)
  16. elseif d == "pigz" then
  17.    turtle.select(3)
  18.    turtle.dropUp()
  19.    a.rsmeh(s,st1)
  20.    elseif d == "420" then
  21.     turtle.select(4)
  22.     turtle.dropUp()
  23.      sleep(0)
  24.      a.rsmeh(s,st1)
  25.      elseif d == "blizz" then
  26.       turtle.select(5)
  27.       turtle.dropUp()
  28.       a.rsmeh(s,st1)
  29.        elseif d == "stop" then
  30.         turtle.suckUp()
  31.         a.rsmeh("bottom", false)
  32.         else sleep(5)
  33.         end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement