WoW:API AddOrRemoveFriend: Difference between revisions

m
Move page script moved page API AddOrRemoveFriend to WoW:API AddOrRemoveFriend without leaving a redirect
m (Created page with '{{wowapi}} Adds or removes ''friend'' to or from the friends list. AddOrRemoveFriend(''player''[, ''note'']) == Arguments == :;player : String - A player's name. :;note : Str…')
 
m (Move page script moved page API AddOrRemoveFriend to WoW:API AddOrRemoveFriend without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}}  
{{wowapi}}  
Adds or removes ''player'' to or from the friends list.
Adds or removes ''player'' to or from the friends list.
  AddOrRemoveFriend(''player''[, ''note''])
  AddOrRemoveFriend("player"[, "note"])


== Arguments ==
== Arguments ==
:;player : String - A player's name.
;player : String - A player's name.
:;note : String - A note to add to the friends frame for ''player''.
;note : String - A note to add to the friends frame for ''player''.
 
== Returns ==
:None


== Notes ==
== Notes ==
* 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.
* 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.
Anonymous user