Advertisement
Guest User

dsfsdf

a guest
Apr 20th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.19 KB | None | 0 0
  1. do
  2.     #count = 0
  3.     for(#slot,0,54)
  4.         getslotitem(%#slot%,&id,#amt)
  5.         if(%&id% = "glass_bottle")
  6.             inc(#count)
  7.         endif
  8.         next
  9.     if(%#count% = 1)
  10.         break
  11.     endif
  12. loop
  13.    
  14. log(finished)
  15.  
  16. gui()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement