m
no edit summary
No edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{API | {{WoW API}} | ||
isLogging = LoggingChat([newState]) | |||
(Returns new state (or current state if no argument)) | |||
returns NIL if logging currently is disabled, and 1 (one) if logging is enabled | |||
added in patch 1.7.0 | |||
Codesnippet: | |||
if (LoggingChat()) then | |||
DEFAULT_CHAT_FRAME:AddMessage("chatlog IS running",1,0,0); | |||
else | |||
DEFAULT_CHAT_FRAME:AddMessage("chatlog IS NOT running... starting"); | |||
LoggingChat(1); | |||
DEFAULT_CHAT_FRAME:AddMessage("Chat beeing logged to logs\\WOWChatLog.txt"); | |||
end | |||
--[[User:Agge|Agge]] 11:11, 31 Jan 2006 (EST) | |||