• Visit Rebornbuddy
  • Helpful Macros

    Discussion in 'General Discussion Forum' started by bfrsmedic2, Feb 8, 2012.

    1. bfrsmedic2

      bfrsmedic2 New Member

      Joined:
      Jan 22, 2011
      Messages:
      87
      Likes Received:
      0
      Trophy Points:
      0
      I got to searching for a useful macro to mail stuff to one of my toons and I found this. I take no credit as all I did was copy and paste, but figured you guys might get some use out of it.

      Mail 12 Items to a certain toon.......

      /run local n,d,i,l=0,"NAME OF TOON","ITEM TO MAIL"for b=0,4 do for s=1,GetContainerNumSlots(b)do l=GetContainerItemLink(b,s)if l and strfind(l,i)then UseContainerItem(b,s)n=n+1 end if n==12 then n=0 SendMail(d,i)end end end

      (Disclaimer: There is no confirmation of mail, so be careful clicking.)

      MEDIC
       

    Share This Page