daily pastebin goal
36%
SHARE
TWEET

hi

a guest Mar 15th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $${
  2. @#skiploading=0
  3. &pre="&8[&bCrafter&8]&f"
  4. $$<recipes.txt>
  5. ARRAYSIZE(@&recipes[],#size)
  6. DEC(#size,1)
  7. &elements="Recipes:"
  8. FOR(#n,0,%#size%)
  9.   SPLIT(",",%@&recipes[%#n%]%,&out[])  
  10.   &elements="%&elements%,%&out[0]%"
  11. NEXT
  12. PROMPT(&choosen,$$[[%&elements%]])
  13. SPLIT(",",%&elements%,&choose[])
  14. INDEXOF(&choose[],#element,%&choosen%)
  15. DEC(#element,1)
  16. GETID(%HITX%,%HITY%,%HITZ%,&id)
  17. IF(&id=="crafting_table")
  18.   LOG(%&pre% Ich crafte nun: %&choosen%)
  19. SPLIT(",",%@&recipes[%#element%]%,&recipe[])
  20. //Craftingscript
  21. KEY(use)
  22. WAIT(300ms)
  23. FOR(#recipe,1,9)
  24.   IF(%&recipe[%#recipe%]%=="")
  25.   ELSE
  26.     GETSLOT(%&recipe[%#recipe%]%,#slot,10)
  27.     IF(%#slot%>=0)
  28.       SLOTCLICK(%#slot%)
  29.       SLOTCLICK(%#recipe%)
  30.     ELSE
  31.       LOG("%&pre% Du hast zuwenig von: '%&recipe[%#recipe%]%'")
  32.     ENDIF
  33.   ENDIF
  34. NEXT
  35. SLOTCLICK(0,,true)
  36. //Ende
  37. ELSE
  38.   LOG(%&pre% Bitte eine Werkbank angucken)
  39. ENDIF
  40. }$$
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top