Returns whether a character is muted or silenced. If the channel argument is specified, this function checks the given character's voice/silence status on the channel as well as for whether the character is on the player's Muted list.
See also Unit functions, Voice functions.
Signature:
muteStatus = GetMuteStatus("unit" [, "channel"]) or GetMuteStatus("name" [, "channel"])
Arguments:
unit- A unit to query (string, unitID)name- Name of a character to query (string)channel- Name of a voice channel (string)
Returns:
muteStatus- 1 if the character is muted; otherwise nil (1nil)