"No player named '[Player Name]' is currently playing."
View Single Post
01-05-15, 10:51 AM
A Chromatic Dragonspawn
Join Date: Oct 2014
Originally Posted by
if UnitIsConnected(self.Friends[self.PosSendNext]) then
self:Send ("W", msg, self.Friends[self.PosSendNext])
Edit: Hrmm no, that won't work as we don't have the unitID only the name.
It also won't work because (and I quote the documentation of UnitID about player name): "This must be spelled exactly and will be invalid if the named player is not a part of your party or raid. As with all other UnitIDs, it is not case sensitive."
GetFriendInfo won't probably help either, because it would suffer from the same inconvenient inconsistency about not noticing when someone goes offline in time.
View Public Profile
Send a private message to atl77
Find More Posts by atl77