### @Autoloot
automacro autoloot {
weight >= 1
call autoloot_cmd
run-once 1
}

macro autoloot_cmd {
do c @autoloot 100
}


automacro pereves {
location force_1-2
weight > 50%
call sell
}

macro sell {
do relog 20
do c @warp prt_in 131 71
do autosell
}


automacro whenrespawn {
location prontera
weight < 50%
call warp
}

macro warp {
do c @go 5
pause 2
do c @autoloot 100
pause 0.5
do move force_1-2
eval AI::clear("sellAuto");
@release pereves
}