hello,
how do i get /finditem similar XXXXX to open all the bags with the item?
all this command does for me is find one bag.
thanks
Moderator: MacroQuest Developers
Code: Select all
| - SellItem.mac -
|
| Usage: /macro SellItem "Bottle of Milk"
| 11/21/03
#turbo
Sub Main
/target merchant
/face
/press u
/press i
/delay 1
/finditem similar @Param0
/delay 1
/click right 940 600
/declare OldMoney local
/declare NewMoney local
/autoinv
:Finding
/if n $count("@Param0")==0 /goto :Done
/finditem "@Param0"
:WaitFind
/if "$cursor()"=="FALSE" /goto :WaitFind
:Selling
/varset OldMoney $char(cash)
/sellitem $selecteditem(count)
/click left merchant sell
:WaitSell
/varset NewMoney $char(cash)
/if n @NewMoney==@OldMoney /goto :WaitSell
/goto :Finding
:Done
/endmacro
/return