From WikiChip
Editing mirc/commands/debug
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {{mirc title|/debug Command}} | + | {{mirc title|/debug Command}}{{mIRC menu}} |
− | The '''/debug''' | + | The '''/debug command''' outputs raw server messages to a file or a custom window Incoming messages are prefixed with '''<-''' and outgoing messages are prefixed with '''->''' |
== Synopsis == | == Synopsis == | ||
− | /debug [- | + | /debug [-cinpt] [color] [on | off | @window | filename] [identifier] |
== Switches == | == Switches == | ||
* '''-c''' - Turns off debugging (close associated window as well) | * '''-c''' - Turns off debugging (close associated window as well) | ||
− | * '''-i''' - Call a specific | + | * '''-i''' - Call a specific identifier before debug is logged |
− | * '''-n''' - Minimize the custom | + | * '''-n''' - Minimize the custom window |
− | * '''-p''' - Wrap | + | * '''-p''' - Wrap text |
− | * '''-t''' - | + | * '''-t''' - Timestamp |
− | |||
− | |||
== Parameters == | == Parameters == | ||
− | * '''[color]''' - Optional text color for the debug window | + | * '''[color]''' - Optional text color for the debug window |
* '''[on|off]''' - Turns debug on or off | * '''[on|off]''' - Turns debug on or off | ||
* '''[@window|filename]''' - outputs to a custom @window or a file | * '''[@window|filename]''' - outputs to a custom @window or a file | ||
Line 21: | Line 19: | ||
== Example == | == Example == | ||
− | < | + | <syntaxhighlight lang="mIRC">;Opens @raw debug window (wrap text+ |
− | //debug -p @Raw</ | + | //debug -p @Raw</syntaxhighlight> |
− | < | + | <syntaxhighlight lang="mIRC">;The line can be 'piped' through an alias on its way to the log file. |
− | + | ||
− | + | /debug -i Log.txt $console | |
Alias console { | Alias console { | ||
Line 40: | Line 38: | ||
; return the line back to mIRC's log | ; return the line back to mIRC's log | ||
return $1- | return $1- | ||
− | }</ | + | }</syntaxhighlight> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Compatibility == | == Compatibility == | ||
{{mIRC compatibility|6.0}} | {{mIRC compatibility|6.0}} | ||
+ | |||
== See also == | == See also == | ||
+ | * [[List of commands - mIRC|List of commands]] | ||
+ | * [[List of identifiers - mIRC|List of identifiers]] | ||
* {{mIRC|$debug}} | * {{mIRC|$debug}} | ||
* {{mIRC|$rawmsg}} | * {{mIRC|$rawmsg}} | ||
+ | {{mIRC command list}} | ||
+ | |||
+ | [[Category:mIRC commands|debug command - mIRC]] |