Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 3.3.5 / 1.13.2

Returns information about the player

presenceID, battleTag, toonID, currentBroadcast, bnetAFK, bnetDND, isRIDEnabled = BNGetInfo()

Returns

presenceID 
number?Optional. Could be nil. - Your presenceID - appears to be always nil in 8.1.5
battleTag 
string - A nickname and number that when combined, form a unique string that identifies the friend (e.g., "Nickname#0001")
toonID 
number - Your toonID
currentBroadcast 
string - the current text in your broadcast box
bnetAFK 
boolean - true if you're flagged "Away"
bnetDND 
boolean - true if you're flagged "Busy"
isRIDEnabled 
boolean
Advertisement