WoW API: AddFriend

From AddOn Studio
Revision as of 09:27, 20 January 2007 by WoWWiki>VoidvectorBot (Robot: converting/fixing HTML)
Jump to navigation Jump to search

WoW API < AddFriend

Add a friend to your friend list.

AddFriend("playerName")

Parameters

Arguments

playerName
String - The name of the player you would like to add to your friends list

Returns

nil

Details

You can have a maximum of 50 people on your friends list at the same time.

Example

AddFriend("Sembiance");