Posted 28 June 2014 - 10:28 AM
In a turtle i need to get the name (string) of an item in the selected inventory slot to use in a if statement
I just need to know how to get it item slot as a string (the item itself) not a number/Integer
turtle.select(4)
–Get item name (String)
if item == "Iron ore" then
–do stuff
end
I just need to know how to get it item slot as a string (the item itself) not a number/Integer
turtle.select(4)
–Get item name (String)
if item == "Iron ore" then
–do stuff
end