just give it a chars name and it mails all mats in the bag to them.
If anyone has done this or has simple idea before I spend weeks trying to figure it out.
I looked at the mail belts from fusion controls and this may also need a list of people to send to in case the mailbox fills.
YGather from Curse looks like it has code to load a table with all the mats but its to hard for me to figure out.
This is what I use now to mail just 1 mat at a time.
Code: Select all
function mailgoods()
GotoGuild("Guild Mailbox")
player:target_NPC("Guild Mailbox") -- Mailbox
UMM_SendByNameOrId(nametosendto,numberofitemtosend, inventory:itemTotalCount(itemname));
yrest(500);
RoMScript("UMMFrame:Hide()")
end