Difference between revisions of "MQ2Log" - MMOBugs Wiki

(updated with proper info for all commands)
(update to indicate default for logging is off, and not saved between sessions.)
 
(2 intermediate revisions by the same user not shown)
Line 24: Line 24:
 
<font class="highlight2">/mqlogcustom</font> - Only logs custom args from a macro
 
<font class="highlight2">/mqlogcustom</font> - Only logs custom args from a macro
  
<font class="highlight2">/logmq</font> - Toggles (or forces on/off) whether logging is active for the MQ2 chat window
+
<font class="highlight2">/logmq [off|on]</font> - Toggles (or forces on/off) whether logging is active for the MQ2 chat window.  This setting is not retained, and defaults to off.  If you want it on by default, add a command to turn it on in autoexec.cfg or other desired config file.
  
<font class="highlight2">/logeq</font> - Toggles (or forces on/off) whether logging is active for the EQ chat window
+
<font class="highlight2">/logeq [off|on]</font> - Toggles (or forces on/off) whether logging is active for the EQ chat window.  This setting is not retained, and defaults to off.  If you want it on by default, add a command to turn it on in autoexec.cfg or other desired config file.
  
==Other===
+
==Other==
  
 
<font class="highlight2">/mqtimestamps</font> - This is an undocumented command in MQ2Main that will toggle timestamps for MQ2 logs.
 
<font class="highlight2">/mqtimestamps</font> - This is an undocumented command in MQ2Main that will toggle timestamps for MQ2 logs.

Latest revision as of 21:05, 6 March 2021

Plugin Info
Name MQ2Log
Author htw
Link Wiki Link
Commands /logts /logmq /logeq /mmolog /mqlogclean /mqlogcustom
Uses INI File Yes

Description

Logs MQ2 and/or EQ chat window text to file, and adds a command to output custom log text.

Features

  • Logs MQ2 messages that would be displayed in the chat window (MQ2Chat or MQ2ChatWnd) to YourMQ2Dir\Logs\MQ2ChatWnd_servername_charname.log
  • Logs EQ messages that would be displayed in the EQ chat window to YourMQ2Dir\Logs\EQ_servername_charname.log

Commands

/logts [off|on] - Toggles (or forces on/off) whether the current date/time stamp is pre-pended to each line logged. The current setting is global, and saved in MQ2Log.ini under [Settings], entry: TimeStamp=1 or TimeStamp=0. This setting affects the primary MQ2 command /mqlog in the same manner, for timestamps.

/mmolog - Our logging - same as from MQ2Main MacroLog(), but with filename control, Usage: /mmolog filename::text

/mqlogclean - Outputs macro log without timestamp

/mqlogcustom - Only logs custom args from a macro

/logmq [off|on] - Toggles (or forces on/off) whether logging is active for the MQ2 chat window. This setting is not retained, and defaults to off. If you want it on by default, add a command to turn it on in autoexec.cfg or other desired config file.

/logeq [off|on] - Toggles (or forces on/off) whether logging is active for the EQ chat window. This setting is not retained, and defaults to off. If you want it on by default, add a command to turn it on in autoexec.cfg or other desired config file.

Other

/mqtimestamps - This is an undocumented command in MQ2Main that will toggle timestamps for MQ2 logs.


Availability

This plugin is included with the MMOBugs Compile.