I looked over the script that you sent to me in PM.
Here's the section you are using to send fusion stones to your other character:
Code: Select all
repeat
local t = os.clock()
repeat
player:target_NPC(110793) -- Mailbox
yrest(1000)
until RoMScript("MailFrame:IsVisible()") or os.clock()-t > 5 -- relog after 5 seconds
if RoMScript("MailFrame:IsVisible()") then
break
end
relog()
t = os.clock() -- reset timer
until false
UMM_SendByNameOrId(nameTable[counter],202999, 55);
yrest(500);
counter = counter + 1;
if counter > #nameTable then
error("Last name reached. No more names.")
end
I guess you have two choices here:
1. Only want to send your T6 items, and no fusion stones
2. Send fusion stones, then send all T6 items
For #1, change that section to this:
Code: Select all
repeat
local t = os.clock()
repeat
player:target_NPC(110793) -- Mailbox
yrest(1000)
until RoMScript("MailFrame:IsVisible()") or os.clock()-t > 5 -- relog after 5 seconds
if RoMScript("MailFrame:IsVisible()") then
break
end
relog()
t = os.clock() -- reset timer
until false
UMM_SendAdvanced(nameTable[counter], nil, nil, nil, nil, nil, nil, nil, nil, nil, 6); -- Will send all T6 items it finds
If you want to send your fusion stones, and then send your T6 items (option #2 from above), keep that block exactly the same as it is and only add the last line (UMM_SendAdvanced line) at the end, like this:
Code: Select all
repeat
local t = os.clock()
repeat
player:target_NPC(110793) -- Mailbox
yrest(1000)
until RoMScript("MailFrame:IsVisible()") or os.clock()-t > 5 -- relog after 5 seconds
if RoMScript("MailFrame:IsVisible()") then
break
end
relog()
t = os.clock() -- reset timer
until false
UMM_SendByNameOrId(nameTable[counter],202999, 55);
yrest(500);
counter = counter + 1;
if counter > #nameTable then
error("Last name reached. No more names.")
end
UMM_SendAdvanced(nameTable[counter], nil, nil, nil, nil, nil, nil, nil, nil, nil, 6); -- Will send all T6 items it finds
If you want to limit the number of T6 items to send, that is controlled by the 9th parameter (3rd to last). For example, to only send 10 T6 items, this should work:
Code: Select all
UMM_SendAdvanced(nameTable[counter], nil, nil, nil, nil, nil, nil, nil, 10, nil, 6); -- Will send all T6 items it finds