I think you can solve your request much easier.
There are in-game API events when guild member changes his online status (EVENT_GUILD_MEMBER_PLAYER_STATUS_CHANGED), so you can add event listener to this event in your addon and print into chat custom notification.
No need to misuse friend-list system.
|