Actually, that one probably won't work. Try something more like this:
Code: Select all
| Sells all the items in a pack
| $p0 - pack to sell from
sub SellPack
/if "$invpanel"!="TRUE" /press i
/if "$pack($p0,open)"!="TRUE" /click right inv $p0
/sendkey down shift
/for l0 0 to $int($pack($p0,slots)-1)
/click left pack $p0 $l0
/call SellBuy
/next l0
/sendkey up shift
/return
sub SellBuy
/varset l0 $char(cash)
/click left merchant buy
:WaitForSale
/doevents
/if n $char(cash)==$l0 /goto :WaitForSale
/return
However, I get the feeling that that isn't what you are looking for - you want to know why sellitem.mac isn't selling all of an item and is 'halting' on your 6th pack, leaving it open. To address that: I don't know. What release are you running? Erm, wait, you said that... 20020905. Well, you could always
re-download the eqgame.ini file, or, if you are feeling bold and daring and want to take on a 'test' version before the new release, try
the latest IRC version. Keep us posted!