if message == "1" then -- using rednet to send signle to turtle
turtle.select(1) -- music cd slot
turtle.dropDown() -- put cd in diskdrive
shell.run(dj) -- exsample it playing cat
sleep(187) -- wait for it to finsh playing
turtle.suckdown() -- picks up the disk
if message == "2" then
turtle.select(2)
turtle.dropDown()
shell.run(dj) -- playing 13
sleep(180)
turtle.suckdown()
if message == "3" then
turtle.select(3)
turtle.dropDown()
shell.run(dj) --chirp
sleep(187)
turtle.suckdown()
if message == "4" then
turtle.select(4)
turtle.dropDown()
shell.run(dj) -- playing stal
sleep(150)
turtle.suckdown()
-- the same up to 16
end
just wondering if theres a way to shorten the program instead of having this copyed and pasted 16 times :P/>
me have not tested this program at all ingame me only wright it in notepad++(pass my bedtime)