I need your help guys... my mind is jamming at this one... I want to insert 1 more code to this but i dont have much knowledge about this.... all i want is...############# VENDING #############
automacro OpenShop {
location prontera
exclusive 1
call ReOpen
timeout 120
}
automacro SoldOut {
console /^sold out: Advanced Field Manual/i
exclusive 1
call DoRefill
}
macro ReOpen {
do move prontera 101 75
pause 2
do openshop
}
automacro Refill {
shop "Advanced Field Manual" = 0
exclusive 1
call DoRefill
}
macro DoRefill {
do closeshop
pause 1
do move prontera 101 75
pause 1
do openshop
}
############# Thanks Reply #############
automacro ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {
exclusive 1
console /You gained/i
call thanks
}
macro thanks {
$thankyou = @random ("c Thank you for buying c:","c Thank you for wasting your zeny to buy my item")
do $thankyou
pause 1
do c Come again!
pause 1
$emoticon = @random ("e thx","e heh",")
do $emoticon
do bingbing
release ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
for example I am selling AFM(Advanced Field Manual) 300 pcs of it.. then someone buy my AFM hmm let me say 50 pcs AFM.. then my bot gonna say 250 pcs AFM LEFT... then automacro thnx reply gonna trigger... i hope u can help me with this
