As of this moment, this is my macro, it works but only thing is that when it reaches 50% it triggers the macro but only deals items that is being calculated to lessen the weight like for example macro reaches 50% then I have lots of loots in inventory but instead of dealing everything, it only deals 10 Wooden Mail[1] which only lessens the weight down and will leave every loots in the inventory then go back and farm again.
A little help would do, thank you!
automacro dealmorocc {
weight > 50%
location morocc, anthell01, anthell02, moc_fild12, moc_fild20, cmd_fild08, pay_fild08, payon
run-once 1
call {
do conf attackAuto 0
$player = @player (NAME OF MERCHANT)
do move 170 105 payon <--- the merchant is standing by
pause 5
do deal "$player"
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal
do deal
do conf attackAuto 2
pause 5
do relog 3
release all
}
}