Originally Posted by Xcalibur
I'd like to know if there's any way to get the level of a specific unit based solely on the character name.
Something similar to the UnitLevel() command, except obviously without the constraint of the UnitId.
I know you can normally get this information in-game through a /who, but I'd like to be able to get a single result based on a specific player name only, rather than chance getting an entire list based on a text search.
Any help or ideas would be much appreciated.
|
Nothing other than SendWho(). I also recommend using SetWhoToUI() at the same time so you don't spam system messages. Take note that this also causes problems such as sending too many who requests, resulting in some not being returned, so you have to guard against this in your program.