WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Wish List (https://www.wowinterface.com/forums/forumdisplay.php?f=15)
-   -   Getting AFK/DND Status (https://www.wowinterface.com/forums/showthread.php?t=5173)

Chef_de_Loup 06-22-06 12:39 AM

Getting AFK/DND Status
 
Is there a way to include a function that resolves the status about a specific unit?

Like:
stat = GetUnitStatus(UnitID);

(String) stat can be "AFK", "DND" or nil, nil if no specific status is given

UnitID can be "player", "party1..4", "raid1..40", "target" but must be a player

Actual you can only resolve the status of friends.

Zeksie 10-21-06 06:16 AM

Quote:

Originally Posted by Chef_de_Loup
Is there a way to include a function that resolves the status about a specific unit?

Like:
stat = GetUnitStatus(UnitID);

(String) stat can be "AFK", "DND" or nil, nil if no specific status is given

UnitID can be "player", "party1..4", "raid1..40", "target" but must be a player

Actual you can only resolve the status of friends.

No, you have to monitor the various chat channels and I think arg6 or 5 (can't recall) of a chat event contains whether they are AFK or DND. You'd need to maintain your own table of afk flags.

So yes, would be very nice to get such status. It must be available client side for it to display the <AFK> or <DND> next to their name.


All times are GMT -6. The time now is 05:29 AM.

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