Originally Posted by Shirik
In short, aside from targets which you can directly reference with a unit ID (such as raid1, etc), no, you can't really check for online status without some form of a server request.
|
Alrighty then.
I'm calling SendAddonMessage multiple times (sending arbitrarily sized data in ~240-byte chunks), so if the target doesn't exist my addon user's chat window is spammed with:
No player named 'foobar' is currently playing.
No player named 'foobar' is currently playing.
No player named 'foobar' is currently playing.
...
I guess I could check for this message and abort my send attempt. Unless y'all can think of a more clever solution...