Removes a character from the player's party or raid. Only works if the player is the party leader, raid leader, or raid assistant.
Also used by the Looking For Group tool to vote kick players. This is what the "reason" argument is used for.
See also Party functions, Raid functions, Looking for group functions.
Signature:
UninviteUnit("name",
"reason")
Arguments:
name
- Name of a character to uninvite (string
)reason
- Reason for the action, optional and may be left as a nil value (string
)