[HELP] AUTO VEND AND AUTO REFILL

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

gonfix
Noob
Noob
Posts: 2
Joined: 24 Jun 2012, 12:21
Noob?: No

[HELP] AUTO VEND AND AUTO REFILL

#1 Post by gonfix »

#This is my Macro help me fix this :((


automacro openshop {
delay 1
console /Not allowed other player view Equipment/
call {
if (@cartamount (Mastela Fruit) == 0) goto get
pause 3
do openshop
pause 10
do sit
stop
:get
payon 162 62 = 162 62
do talk @npc (181 104)
pause 3
do talk cont
pause 3
do talk resp 1
pause 3
do storage get @storage (Mastela Fruit) @eval (50 - @cartamount (Mastela Fruit))
pause 3
do cart add @inventory (Mastela Fruit) @invamount (Mastela Fruit)
pause 10
do cart add Mastela Fruit
pause 1
do move payon 162 62
pause 3
do openshop
pause 10
do sit
stop
}

}





automacro soldout {
soldout >= 2
cart "Yellow Potion" <= 1, "Orange Potion" <= 1,
run-once 1
call {

payon 162 62 = 162 62
do talk @npc (181 104)
pause 3
do talk cont
pause 3
do talk resp 1
pause 3
do storage get @storage (Mastela Fruit) @eval (50 - @cartamount (Mastela Fruit))
pause 3
do cart add @inventory (Mastela Fruit) @invamount (Mastela Fruit)
pause 10
do cart add Mastela Fruit
pause 1
do move payon 162 62
pause 3
do openshop
pause 10
do sit
stop
}
}
User avatar
SkylorD
Moderators
Moderators
Posts: 1197
Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil

Re: [HELP] AUTO VEND AND AUTO REFILL

#2 Post by SkylorD »

What's happenning ?
payon 162 62 = 162 62
Learn rules
gonfix
Noob
Noob
Posts: 2
Joined: 24 Jun 2012, 12:21
Noob?: No

Re: [HELP] AUTO VEND AND AUTO REFILL

#3 Post by gonfix »

can somebody give me AUTO VEND AND REFILL? i want to sell MASTELA -.-