Mail your greens!

View previous topic View next topic Go down

Mail your greens!

Post  Draann on Mon Sep 28, 2009 8:31 pm

Attach all your greens to a mail with one click:

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.
avatar
Draann
Admin

Posts : 744
Join date : 2008-01-08
Age : 46
Location : Brazil

View user profile http://daringblades.forumotion.com

Back to top Go down

Re: Mail your greens!

Post  Hales on Tue Sep 29, 2009 11:07 am

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*
avatar
Hales

Posts : 413
Join date : 2008-01-09

View user profile

Back to top Go down

Re: Mail your greens!

Post  Draann on Tue Sep 29, 2009 12:54 pm

LOL doh!!!
Thanks for the slightly important detail, Hales Very Happy
avatar
Draann
Admin

Posts : 744
Join date : 2008-01-08
Age : 46
Location : Brazil

View user profile http://daringblades.forumotion.com

Back to top Go down

Re: Mail your greens!

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum