I hunt manually, basically, pressing a macro for stanc o/r attack/r.

Occasionally due to forgetting about coins or whatnot I will end up in 40 seconds of round time. What I would like to do, if possible, is have lich check my encumbrance every time and make my attack conditional on one of the lesser encumbrance messages is returned (I would choose a list of the "all clear" encumbrance messages based on the round time that is acceptable).

Can someone point me in the right direction on how to set this up?