Finding who to give stuff to
Posted: Sun Feb 15, 2009 3:06 pm
I need a macro or snipet that shows an easy to decide who responded to:
"who has room for NAME"
Have each toon in range say "I have room for (how many)" and have the asker hand only up to that quantity to the appropriate responder.
If you have a group of 6 and all 5 have small stacks of item NAME, they'd all respond "I have room for ${FindItem[=${NAME}].FreeStack}".
If you have 65 of them, and group member 1 has room for 2, group member 3 has room for 40, and group member 6 has room for 99, it would pass the appropriate quantity to the right person.
It wouldn't be bad if it were all handed to group member 6, but that wouldn't be ideal.
Both the items to pass off and the people who receive may be setup in an array, obviously.
As a benefit, it'd be nice if responders also said "I don't have room for any in a stack, but I do have ### of empty spaces" and, in the event that no one had a stack of the item, it would hand the items off to the person with the most spaces. Maybe even include a special person for certain items - that'd be the person who normally collects that type of item (mostly this is for speeding up sorting on mules later - gems, tradeskill items, non-tradeskill items, etc).
"who has room for NAME"
Have each toon in range say "I have room for (how many)" and have the asker hand only up to that quantity to the appropriate responder.
If you have a group of 6 and all 5 have small stacks of item NAME, they'd all respond "I have room for ${FindItem[=${NAME}].FreeStack}".
If you have 65 of them, and group member 1 has room for 2, group member 3 has room for 40, and group member 6 has room for 99, it would pass the appropriate quantity to the right person.
It wouldn't be bad if it were all handed to group member 6, but that wouldn't be ideal.
Both the items to pass off and the people who receive may be setup in an array, obviously.
As a benefit, it'd be nice if responders also said "I don't have room for any in a stack, but I do have ### of empty spaces" and, in the event that no one had a stack of the item, it would hand the items off to the person with the most spaces. Maybe even include a special person for certain items - that'd be the person who normally collects that type of item (mostly this is for speeding up sorting on mules later - gems, tradeskill items, non-tradeskill items, etc).