Promotes a player to party/raid leader


See also Party functions, Raid functions.

Signature:

PromoteToLeader("unit") or PromoteToLeader("name" [, exactMatch])

Arguments:

  • unit - A unit in the party or raid (string, unitID)
  • name - Name of a party member (string)
  • exactMatch - True to check only units whose name exactly matches the name given; false to allow partial matches (boolean)