- Joined
- May 17, 2015
- RedCents
- 6,058¢
Rich (BB code):
|**
whoHas.mac - http://www.macroquest2.com/phpBB3/viewtopic.php?f=49&t=20212
Will ask everyone in MQ2EQBC to search if they have the item and report back
Usage:
/mac whoHas "name of item" does a loose search
/mac whoHas "=Exact Name" does an exact search
Requirements:
MQ2EQBC + MQ2EQBCS
Stolen/Referenced http://macroquest2.com/wiki/index.php/Main_Page
Thanks to Razkle (rg) for the idea
1701a (LamahHerder)
Initial Release
1702a (LamahHerder)
Searchs Bags & Bank
Attempts to better format the output for readability.
*If you have lag or more than 12 toons you may want to change //timed to something higher.
**|
sub main(string theItem)
/bccmd names
/declare nameNum int local
/declare eqbcNames string local ${EQBC.Names}
/for nameNum 1 to ${Int[${Math.Calc[1 + ${eqbcNames.Count[ ]}]}]}
/docommand /bct ${eqbcNames.Arg[${nameNum}, ]} //timed 40 /bc Bags [${theItem}] > Found [$\{FindItem["${theItem}"]}] >> ItemSlot [$\{FindItem[${theItem}].ItemSlot}] >>> BagSlot [$\{FindItem[${theItem}].ItemSlot2}]
/docommand /bct ${eqbcNames.Arg[${nameNum}, ]} //timed 40 /bc Bank [${theItem}] > Found [$\{FindItemBank["${theItem}"]}] >> ItemSlot [$\{FindItemBank[${theItem}].ItemSlot}] >>> BagSlot [$\{FindItemBank[${theItem}].ItemSlot2}]
/docommand /bct ${eqbcNames.Arg[${nameNum}, ]} //timed 40 /bc ---------------------------------------------------------------------------
/delay 3
/next nameNum
/bc =================================================================
/bc =================================================================
/return
Last edited:


