Wikia

WoWWiki

API LoggingChat

Talk0
98,449pages on
this wiki


Toggles the chat logging and returns the current state.

isLogging = LoggingChat([newState])


Parameters

Arguments

newState 
Boolean - toggles chat logging

Returns

isLogging 
Boolean - current state of logging


Example

if (LoggingChat()) then
  DEFAULT_CHAT_FRAME:AddMessage("Chat is already being logged");
else
  DEFAULT_CHAT_FRAME:AddMessage("Chat is not being logged - starting it!");  
  LoggingChat(1);
  DEFAULT_CHAT_FRAME:AddMessage("Chat is now being logged to Logs\\WOWChatLog.txt");
end
Advertisement | Your ad here

Photos

Add a Photo
61,964photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki