Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("a")
- local s = "top"
- local st1 = false
- local st2 = true
- local modem = peripheral.wrap("left")
- modem.open(2)
- local event, a ,b,c,d = os.pullEvent("modem_message")
- if d == "witch" then
- turtle.select(1)
- turtle.dropUp()
- a.rsmeh(s, st1)
- elseif d == "skelly" then
- turtle.select(2)
- turtle.dropUp()
- a.rsmeh(s, st1)
- elseif d == "pigz" then
- turtle.select(3)
- turtle.dropUp()
- a.rsmeh(s,st1)
- elseif d == "420" then
- turtle.select(4)
- turtle.dropUp()
- sleep(0)
- a.rsmeh(s,st1)
- elseif d == "blizz" then
- turtle.select(5)
- turtle.dropUp()
- a.rsmeh(s,st1)
- elseif d == "stop" then
- turtle.suckUp()
- a.rsmeh("bottom", false)
- else sleep(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement