SEND CLEAN ITEMS WITH EMAIL

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Supergala
Posts: 502
Joined: Mon May 17, 2010 3:40 pm
Location: Poland

SEND CLEAN ITEMS WITH EMAIL

#1 Post by Supergala » Sat May 13, 2023 6:38 pm

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>

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests