Fandom

WoWWiki

API AddOrRemoveFriend

104,637pages on
this wiki
Add New Page
Talk0 Share

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.

WoW API < AddOrRemoveFriend

Adds or removes player to or from the friends list.

AddOrRemoveFriend("player"[, "note"])

Arguments Edit

player 
String - A player's name.
note 
String - A note to add to the friends frame for player.

Notes Edit

  • If player is already on your friends list when you call this function, the player will be removed regardless of whether you pass a note as the second argument.

Also on Fandom

Random Wiki