Mail your greens!
2 posters
Page 1 of 1
Mail your greens!
Attach all your greens to a mail with one click:
change quality==2 for greens, quality==3 for rares, quality==4 for epics.
Note: this is non-discretionary so will attach the first 12 legal items. Use with care.
- Code:
/run for bag=0,4 do for slot=1,GetContainerNumSlots(bag) do local texture,itemCount,locked,quality=GetContainerItemInfo(bag,slot) if quality==2 then UseContainerItem(bag,slot) end end end
change quality==2 for greens, quality==3 for rares, quality==4 for epics.
Note: this is non-discretionary so will attach the first 12 legal items. Use with care.
Re: Mail your greens!
Just a warning ... make sure you have your mail message open such that if you were to right click an inventory item it would be put into the attachment area.
If you run this script without having the send mail message open it will attempt to equip all greens in your bag one at a time *grin*
If you run this script without having the send mail message open it will attempt to equip all greens in your bag one at a time *grin*
Hales- Posts : 413
Join date : 2008-01-09
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|