Swap gear and mail between characters.
Posted: Thu Aug 04, 2011 11:32 pm
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?
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?