Code: Select all
automacro storage {
delay 800
call stored
timeout 20
}
macro stored {
do ai manual
pause 1
do c @storage
pause 2
do storage add Gold
pause 10
do storage close
pause 2
do storage log
do ai on
}
automacro checkgold {
inventory "Gold" >= 22,000 #if my inventory has 22k gold this macro will be triggered?#
delay 800
timeout 20
call sellgold
}
macro sellgold {
do move prontera
do move prontera
do move prontera
do talknpc 147 167 c r0
do move 345 68
do sell
do sell @inventory(Gold)
do sell done
then it will go to another npc and convert zeny to credits.
npc location is 355 66 r2 "and then ask me how many credits" ans: "100" and done.
after this, macro will call "gold" script.
hoping that someone can help me with this...
my bot is almost done...
help is greatly appreciated, and will help others.