Hello! i was just wondering, a function to compare two slots, for example- turtle.compareSlots(1,16) returns true if they match
Would be awesome
Comparing slots?
Started by Apfeldstrudel, Jun 06 2013 09:56 AM
5 replies to this topic
#1
Posted 06 June 2013 - 09:56 AM
#2
Posted 06 June 2013 - 10:16 AM
turtle.compareTo(destinationSlot)
#3
Posted 06 June 2013 - 10:32 AM
function turtle.compareSlots(s1,s2)
turtle.select(s1)
return turtle.compareTo(s2)
end
turtle.select(s1)
return turtle.compareTo(s2)
end
#4
Posted 10 June 2013 - 09:06 AM
Oh, sorry- i thought that compared with the block in front
#5
Posted 10 June 2013 - 02:02 PM
#6
Posted 10 June 2013 - 03:19 PM
Locked.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


This topic is locked









