gamingoodz

test

Mar 8th, 2013
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.18 KB | None | 0 0
  1. if turtle.getItemCount(1) <1 then
  2.   print "No Book!"
  3. else
  4. print "Has Book!"
  5. end
  6.  
  7.  
  8. The Code will tell me if a book is in slot 1 but wont tell me if there isnt a book in slot 1.
Advertisement
Add Comment
Please, Sign In to add comment