WoW API: IsVoiceChatAllowed

From AddOn Studio
Revision as of 22:37, 6 August 2008 by WoWWiki>Flowy (Rewritten)
Jump to navigation Jump to search

WoW API < IsVoiceChatAllowed

isallowed = IsVoiceChatAllowed();


Arguments
none

Returns
isallowed
Boolean - 1 (true) if Voice Chat is enabled on the server, nil (false) otherwise.

Example
 isallowed = IsVoiceChatAllowed();
 if (isallowed) then
    message("Voice Chat is enabled on the server.");
  end
 else
    message("Voice Chat isn't enabled on the server.");
 end