Page 1 of 1

Swap gear and mail between characters.

Posted: Thu Aug 04, 2011 11:32 pm
by weirdo69
I have a set of white gear with stats that I would like to mail between characters. My thought was it would be structured like this:

Waypoint
REMOVE GEAR
item:moveTo(bag)
if player.character =="toon1" then UMM...send by name "toon2"
end
if player.character =="toon2" then UMM...send by name "toon3"
end
... infinite number just use names of next character on account.
Then logoff and swap characters.
character logs on
inventory:UseItem.... for gear and then on to profile

I cannot figure out how to target to remove or directly mail gear that is equipped. I am pretty sure I can manage the rest of the coding. Could anyone help me with this part?

Re: Swap gear and mail between characters.

Posted: Fri Aug 05, 2011 1:13 am
by rock5
I don't think you can. I think you can only mail from your bag.

I used to do exactly the same thing. That's why there is a mail function for that.

Code: Select all

UMM_SendByStatNumber(_recipient, _statNo)
All you have to do is unequip your gear then use that function. To unequip your gear I used to use,

Code: Select all

		for i = 1, 17 do
			sendMacro("EquipItem("..i..")");yrest(1500)
		end

Re: Swap gear and mail between characters.

Posted: Fri Aug 05, 2011 4:00 pm
by weirdo69
Thanks Rock that works perfect.