When item in inventory have reach target, it will be automatically change the config.
But in console have an error like this.
Code: Select all
[macro] tes.call error: error in 0: @inventory (Skel-Bone) failed
Code: Select all
automacro tes {
run-once 1
timeout 300
call {
$a = @inventory (Skel-Bone)
$b = @inventory (Blue Herb)
$c = @inventory (Decayed Nail)
$d = @inventory (Horrendous Mouth)
if ($a < 10) goto mega
if ($b < 6) goto spore
if ($c < 10 || $d < 10) goto zombie
if ($a = 10 && $b = 6 && $c = 10 && $d = 10) goto done
:mega
do conf lockMap beach_dun3
pause 1
do conf storageAuto_npc comodo 195 150
pause 1
goto end
:spore
do conf lockMap mjolnir_06
pause 1
do conf storageAuto_npc geffen 203 123
pause 1
goto end
:zombie
do conf lockMap pay_dun00
pause 1
do conf storageAuto_npc payon 181 104
pause 1
goto end
:done
do move prontera
do sit
stop
:end
release all
}
}