Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- automacro compra {
- location not prt_in 172 130
- call start
- run-once 1
- timeout 10
- }
- macro start {
- do move 172 130 prt_in
- $tsus = 0
- $cheio = 0
- pause 1
- }
- automacro bf {
- location prt_in 173 130
- call buy
- timeout 3
- $tsus < 30
- }
- macro buy {
- do talknpc 172 130 b b13,1
- $tsus++
- if($cheio == 0) {
- log você tem $tsus
- }
- if($cheio == 1) {
- log você tem $tsus ja depositou no carrinho
- }
- pause 1
- }
- automacro carrinho {
- $tsus > 29
- call dep
- overrideAI 1
- run-once 1
- }
- macro dep {
- log começou a verificar
- $i = 0
- while ($i < 30) as loop
- do cart add Tsurug[1]
- $i++
- end loop
- $tsus=0
- $cheio=1
- if($cheio == 0) {
- log você tem $tsus
- }
- if($cheio == 1) {
- log você tem $tsus ja depositou no carrinho
- }
- }
- automacro Storage {
- $tsus > 29
- $cheio > 0
- call sty
- run-once 1
- }
- macro sty {
- do move 280 200 prontera
- do talknpc 282 200 c c r1
- $i = 0
- while ($i < 70) as loop
- do storage add Tsurugi[1]
- do cart get Tsurugi[1]
- $i++
- end loop
- pause 1
- release compra
- release carrinho
- release Storage
- $tsus = 0
- $cheio = 0
- do storage close
- pause 5
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement