• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

whoHas.mac ask everyone in BC to search for item and report

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:
Can this be updated to search for Item ID?
Hmm
I am not aware of a way to find something by ID?


Rich (BB code):
    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.
 
Last edited:
I am not sure because I am at work but i think its
Rich (BB code):
${FindItem[=Item Name].ID}
 
Why would you want to find an item by its ID and not its name?

Vex Thall Key for example has 10 Lucid Shards. All are named the same but identify differently. Planes of power had some of this type of itemization as well if I recall.
 
Vex Thall Key for example has 10 Lucid Shards. All are named the same but identify differently. Planes of power had some of this type of itemization as well if I recall.

Thats true, I could probably add a report of the item ID when they respond back but this wouldnt fix that issue

I'll take a look at what Maskoi said, I think I tried at one point but couldnt get finditem to ever search by ID
 
I use this when i run my box group over eqbc

Doing /fsay ItemCheck MainHand wil have them all report mainhand item, which makes it easy to find whom can use the dropped item


1. Open MQ2events.ini
2. Copy code into file.
[ArmorItem]
trigger=#*#ItemCheck #1#'
command=/bc My ${EventArg1} item is [+g+]${InvSlot[${EventArg1}].Item.Name}[+g+]
 
I must be missing something here, I saved this as a macro. When I run it I I don't get anything usable. I've tried looking for different items, running the macro on different characters, I do have MQ2EQBC running with the toons connected - and I believe I'm using the correct syntax, /mac whohas "cosgrove"

Any ideas what I might have done wrong?
 
I must be missing something here, I saved this as a macro. When I run it I I don't get anything usable. I've tried looking for different items, running the macro on different characters, I do have MQ2EQBC running with the toons connected - and I believe I'm using the correct syntax, /mac whohas "cosgrove"

Any ideas what I might have done wrong?

What happens if you do

/bccmd names


/bcaa //bc Hello
 
whohas 001.JPG

is what I get when I run "/mac whohas "spider silk"

When I do a "/bccmd names" I get a list of all my toons.
When I do "/bcca //bc Hello" the cheeky li'l beasties all say Hello to me.

ARE they Mocking me!?!?!?!?

Am I gonna have to don me armor?

Will there be a reckoning?

Lamaherder, many thanks. This is very nice. Especially after I learn how to use it.....

edit. each toon has a spider silk on person inventory

As always,
Playbetter


Edit Thank you Lamaherder
I got it to work by putting a "/delay 5" after the requesting "/echo #{EQBC.Names}"
This is nifty.
 
Last edited:
/echo ${EQBC.Names}

The issue is for some reason you are not getting names
I have noticed some times ${EQBC.Names} does not work when it should be, a reboot has fixed that for me in the past.

Do your characters autojoin EQBC when they load?
 
whoHas.mac ask everyone in BC to search for item and report

Users who are viewing this thread

Back
Top
Cart