(update to indicate default for logging is off, and not saved between sessions.) |
|||
(11 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
| name = MQ2Log | | name = MQ2Log | ||
| author = [[user:htw|htw]] | | author = [[user:htw|htw]] | ||
− | | link = [ | + | | link = [https://www.mmobugs.com/wiki/index.php?title=MQ2Log Wiki Link] |
− | | commands=/ | + | | commands=/logts /logmq /logeq /mmolog /mqlogclean /mqlogcustom |
| usesini = Yes | | usesini = Yes | ||
}} | }} | ||
==Description== | ==Description== | ||
− | Logs MQ2 chat window to file. | + | Logs MQ2 and/or EQ chat window text to file, and adds a command to output custom log text. |
==Features== | ==Features== | ||
* Logs MQ2 messages that would be displayed in the chat window (MQ2Chat or MQ2ChatWnd) to YourMQ2Dir\Logs\MQ2ChatWnd_servername_charname.log | * 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== | ==Commands== | ||
− | <font class="highlight2">/ | + | <font class="highlight2">/logts [off|on]</font> - 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 [http://www.macroquest2.com/wiki/index.php/Mqlog /mqlog] in the same manner, for timestamps. |
+ | |||
+ | <font class="highlight2">/mmolog</font> - Our logging - same as from MQ2Main MacroLog(), but with filename control, Usage: /mmolog filename::text | ||
+ | |||
+ | <font class="highlight2">/mqlogclean</font> - Outputs macro log without timestamp | ||
+ | |||
+ | <font class="highlight2">/mqlogcustom</font> - Only logs custom args from a macro | ||
+ | |||
+ | <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 [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== | ||
+ | |||
+ | <font class="highlight2">/mqtimestamps</font> - This is an undocumented command in MQ2Main that will toggle timestamps for MQ2 logs. | ||
+ | |||
− | |||
==Availability== | ==Availability== | ||
This plugin is included with the MMOBugs Compile. | This plugin is included with the MMOBugs Compile. | ||
__FORCETOC__ | __FORCETOC__ |
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.