Fandom

WoWWiki

API AddFriend

104,768pages on
this wiki
Add New Page
Talk0 Share
WoW API < AddFriend

Add a friend to your friend list.

AddFriend("playerName")

Parameters Edit

Arguments Edit

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

Returns Edit

nil

Details Edit

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

Example Edit

AddFriend("Sembiance");

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.