Wikia

WoWWiki

Watchlist Recent changes

API LoggingChat

Main Menue




Toggles the chat logging and returns the current state.

isLogging = LoggingChat([newState])


Parameters Edit

Arguments Edit

newState 
Boolean - toggles chat logging

Returns Edit

isLogging 
Boolean - current state of logging


Example Edit

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

Pages on WoWWiki

94,193pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,622photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki