Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.66 KB | None | 0 0
  1. automacro refine {
  2. location payon 145 173
  3. exclusive 1
  4. call autorefine
  5. }
  6.  
  7. macro autorefine {
  8. #Nama barang yang akan ditempa
  9. $barang = Tidal Shoes [1]
  10.  
  11. $aman = c r0 c r0 c c n
  12. $kaga = c r0 c r0 c c r0 c c n
  13. $waw = c r0 c r0 c c r0 c w8 c n
  14.  
  15. #Lockmap X Y
  16. #$lockmapxy = 145 173
  17.  
  18. #NPC Location
  19. $location = 144 173
  20.  
  21. #Memulai auto refine
  22. goto begin
  23.  
  24. :begin
  25. do conf autoTalkCont 0
  26. #do move $lockmapxy
  27. goto satu
  28.  
  29. :auto
  30. do c @storage
  31. do storage get Elunium 50
  32. do storage close
  33. goto begin
  34.  
  35. :satu
  36. $this = @inventory($barang)
  37. if ($this == -1) goto dua
  38. if (@inventory(Elunium) == -1) goto auto
  39. do eq @inventory($barang)
  40. do talknpc $location $aman
  41. goto satu
  42.  
  43. :dua
  44. $this = @inventory(+1 $barang)
  45. if ($this == -1) goto tiga
  46. if (@inventory(Elunium) == -1) goto auto
  47. do eq @inventory(+1 $barang)
  48. do talknpc $location $aman
  49. goto dua
  50.  
  51. :tiga
  52. $this = @inventory(+2 $barang)
  53. if ($this == -1) goto empat
  54. if (@inventory(Elunium) == -1) goto auto
  55. do eq @inventory(+2 $barang)
  56. do talknpc $location $aman
  57. goto tiga
  58.  
  59. :empat
  60. $this = @inventory(+3 $barang)
  61. if ($this == -1) goto lima
  62. if (@inventory(Elunium) == -1) goto auto
  63. do eq @inventory(+3 $barang)
  64. do talknpc $location $aman
  65. goto empat
  66.  
  67. :lima
  68. $this = @inventory(+4 $barang)
  69. if ($this == -1) goto enam
  70. if (@inventory(Elunium) == -1) goto auto
  71. do eq @inventory(+4 $barang)
  72. do talknpc $location $aman
  73. goto lima
  74.  
  75. :enam
  76. $this = @inventory(+5 $barang)
  77. if ($this == -1) goto tujuh
  78. if (@inventory(Elunium) == -1) goto auto
  79. do eq @inventory(+5 $barang)
  80. do talknpc $location $aman
  81. goto enam
  82.  
  83. :tujuh
  84. $this = @inventory(+6 $barang)
  85. if ($this == -1) goto delapan
  86. if (@inventory(Elunium) == -1) goto auto
  87. do eq @inventory(+6 $barang)
  88. do talknpc $location $kaga
  89. goto tujuh
  90.  
  91. :delapan
  92. $this = @inventory(+7 $barang)
  93. if ($this == -1) goto sembilan
  94. if (@inventory(Elunium) == -1) goto auto
  95. do eq @inventory(+7 $barang)
  96. do talknpc $location $kaga
  97. goto delapan
  98.  
  99. :sembilan
  100. $this = @inventory(+8 $barang)
  101. if ($this == -1) goto end
  102. if (@inventory(Elunium) == -1) goto auto
  103. do eq @inventory(+8 $barang)
  104. do talknpc $location $waw
  105. goto sembilan
  106.  
  107. :end
  108. do conf autoTalkCont 1
  109. log -------------------------------------------------
  110. log ------------------------------------------------
  111. log --------------Menempa Selesai------------------
  112. log ----------------------------------------------
  113. log ---------------------------------------------
  114. release all
  115. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement