API C FriendList.AddFriend

Adds a friend to your friend list. C_FriendList.AddFriend("name" [, "notes"])

Arguments

 * name : string - the name of the player you would like to add.
 * notes : string (optional) - the note that will show in your friend list.

Details

 * You can have a maximum of 100 people on your friends list at the same time.
 * The player being added does not need to be online for this to work.