WoW:API GetNumFriends

From AddOn Studio
Revision as of 14:45, 13 February 2005 by WoWWiki>Jpopcenter
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
GetNumFriends -Documentation by jpopcenter-

Returns number of friends.

numberOfFriends = GetNumFriends();


Arguments
None

Returns
(Number numberOfFriends)
numberOfFriends
The number of friends.

Example
DEFAULT_CHAT_FRAME:AddMessage("I've got " .. GetNumFriends() .. " friend(s)");
Result

Prints a message in the default chat frame.


Description
Returns number of friends.

Template:WoW API