Saturday, August 1, 2009

Macro Vending

automacro Jualan {
location payon 145 55
cart "Green Potion" >= 1
cart "Red Potion" >= 1
call Vending
}

macro Vending {
do openshop
}

automacro yah {
location payon 168  48
shop "Red Potion" < 5
shop "Green Potion" > 0
call abis
run-once 1
}

macro abis {
do closeshop
do move payon_in01
do talk @npc (5 49)
pause 2
do store
pause 1
do buy 2 100
do cart add @inventory(Red Potion)
do move 168 48 payon
stop
do openshop
release yah
}


tinggal d ubah" sndiri ajah..

1 comment:

  1. pls create a macro for vending a white potion on prontera please?

    ReplyDelete