Page 1 of 1

SEND CLEAN ITEMS WITH EMAIL

Posted: Sat May 13, 2023 6:38 pm
by Sasuke
Hi all, I wanted some advice on how to conceive this .xml. with the function that I have listed, the player selects all the fusion stones and thanks to the " name table " I can send an "x" quantity for each player, but I have a doubt if I wanted to send all the lev99/100 items instead clean to make clean stones. using a list of "id numbers" would be very long, but I think it could be done in another way. Can you give me a hand? Thanks
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, 15);
yrest(500);
counter = counter + 1;
if counter > #nameTable then
error("Last name reached. No more names.")
end
</waypoint>