Method PlayerBot.GetCharGuidByName [-] [+]
Returns the GUID (low part) of a character by name. Looks up the character cache, not the database directly.
Synopsis
guidLow = Playerbot.GetCharGuidByName( name )
Arguments
string nameCharacter name.
Returns
number guidLowThe low part of the character's GUID, or 0 if not found.
Valid numbers: integers from 0 to 4,294,967,295.