Advertisement
Guest User

Untitled

a guest
Sep 27th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv
  2. SendMode Input
  3. SetWorkingDir %A_ScriptDir%
  4. #SingleInstance, Force
  5.  
  6. ;This script crafts using the whole inventory and the first 3 slots of the hotbar
  7. ;Made for Large GUI scale
  8.  
  9. ^d::
  10.  
  11. Send, {LShift down}
  12. MouseMove, 744, 648
  13. placed := 0
  14.  
  15. Loop, 3 {
  16.     Click
  17.     placed := placed + 1
  18.     Gosub, craft
  19.     Loop, 8{
  20.         MouseMove, 54, 0, , R
  21.         Click
  22.         placed := placed + 1
  23.         Gosub, craft
  24.     }
  25.     MouseMove, -432, 54, , R
  26. }
  27.  
  28. Click
  29. placed := placed + 1
  30. Gosub, craft
  31.  
  32. Loop, 2 {
  33.     MouseMove, 54, 0, , R
  34.     Click
  35.     placed := placed + 1
  36.     Gosub, craft
  37. }
  38.  
  39. Send, {LShift Up}
  40.  
  41. return
  42.  
  43. craft:
  44. if (Mod(placed, 5) = 0) {
  45.     MouseGetPos, x, y
  46.     MouseMove, 1067, 390
  47.     Click
  48.     MouseMove, x, y
  49. }
  50. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement