→ WoW API
Toggles the chat logging and returns the current state.
isLogging = LoggingChat([newState])
- Boolean - toggles chat logging
- Boolean - current state of logging
if (LoggingChat()) then print("Chat is already being logged") else print("Chat is not being logged - starting it!") LoggingChat(1) print("Chat is now being logged to Logs\\WOWChatLog.txt") end