WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   updating minimapmailicon. (https://www.wowinterface.com/forums/showthread.php?t=32168)

alimjocox 04-28-10 04:58 AM

updating minimapmailicon.
 
Code:

        if HasNewMail() then
                for i = 1, GetInboxNumItems() do
                        AutoLootMailItem(i);
                end
        end

im using this atm. works fine takes all the mail no worries. but the minimap new mail indicator doesnt move for a while. anyone got any ideas? i've looked through the API and event functions but i couldnt find anything to help me. so i put it to you who are far more adept ;) cheers

Rilgamon 04-28-10 06:25 AM

Not tried it , but CheckInbox looks promising :)
http://www.wowwiki.com/API_CheckInbox

alimjocox 04-28-10 07:05 AM

found a fix thx anyways


All times are GMT -6. The time now is 03:39 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI