→ WoW API
Returns info about how much Battle.net friends are added to the friendslist and how much of them are currently online.
numFriends, numOnline = BNGetNumFriends()
- Integer - number of Battle.net friends on the friendslist
- Integer - number of online Battle.net friends
local numFriends, numOnline = BNGetNumFriends(); print("You have "..numFriends.." BN friends and "..numOnline.." are online!");
You have x BN friends and y are online!