Returns whether a character has voice chat enabled
See also Voice functions.
Signature:
status
=
GetVoiceStatus(unit,
"channel")
or
GetVoiceStatus("name",
"channel")
Arguments:
unit
- The unitid to query (unitid
)name
- The name of the player to query (string
)channel
- Channel to query for voice status. (string
)
Returns:
status
- 1 if voice is enabled; otherwise nil (1nil
)