The Daring Blades
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Mail your greens!

2 posters

Go down

Mail your greens! Empty Mail your greens!

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

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

https://daringblades.forumotion.com

Back to top Go down

Mail your greens! Empty Re: Mail your greens!

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

Posts : 413
Join date : 2008-01-09

Back to top Go down

Mail your greens! Empty Re: Mail your greens!

Post  Draann Tue Sep 29, 2009 12:54 pm

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

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

https://daringblades.forumotion.com

Back to top Go down

Mail your greens! Empty Re: Mail your greens!

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


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