Difference between revisions of "How to Format a Log Quickly"
Line 1: | Line 1: | ||
Logging can be done smoothly. Usually, it is a case of knowing a little advanced Find and Replace. I've probably included more screenshots than is needed. |
Logging can be done smoothly. Usually, it is a case of knowing a little advanced Find and Replace. I've probably included more screenshots than is needed. |
||
− | ==What You |
+ | ==What You Need== |
* A client that supports logging. For example, [http://simplemu.onlineroleplay.com/download.html SimpleMU] or [http://www.beipmu.com/download/x-index.php BeipMU]. |
* A client that supports logging. For example, [http://simplemu.onlineroleplay.com/download.html SimpleMU] or [http://www.beipmu.com/download/x-index.php BeipMU]. |
||
* A text editor that supports advanced searches. If you run Windows, install [http://notepad-plus-plus.org/download Notepad++]. If you're using another OS, use its native text editor. |
* A text editor that supports advanced searches. If you run Windows, install [http://notepad-plus-plus.org/download Notepad++]. If you're using another OS, use its native text editor. |
||
Line 7: | Line 7: | ||
If you have both of these things, you can edit a log for most MUs within minutes. |
If you have both of these things, you can edit a log for most MUs within minutes. |
||
− | ==How |
+ | ==How You Do It== |
− | To clean a log in this fashion, you will |
+ | To clean a log in this fashion, you will be tinkering with a few of Find and Replace's more advanced features. Don't worry, though. Just copy and paste what you see in the table below. The table shows you what to search for when doing this in Notepad++. Linux and Mac text editors should be able to perform similar functions. |
{{TableMain}} |
{{TableMain}} |
||
Line 56: | Line 56: | ||
|'''Remove spacing before poses''' |
|'''Remove spacing before poses''' |
||
| |
| |
||
− | |Hit the spacebar 9 times |
+ | |Hit the spacebar 9 times (Note, some people use 10, so you may want to run this with both 9 and 10) |
|Put nothing into Replace (that is, leave it blank) |
|Put nothing into Replace (that is, leave it blank) |
||
|} |
|} |
Revision as of 07:13, 10 March 2012
Logging can be done smoothly. Usually, it is a case of knowing a little advanced Find and Replace. I've probably included more screenshots than is needed.
What You Need
- A client that supports logging. For example, SimpleMU or BeipMU.
- A text editor that supports advanced searches. If you run Windows, install Notepad++. If you're using another OS, use its native text editor.
If you have both of these things, you can edit a log for most MUs within minutes.
How You Do It
To clean a log in this fashion, you will be tinkering with a few of Find and Replace's more advanced features. Don't worry, though. Just copy and paste what you see in the table below. The table shows you what to search for when doing this in Notepad++. Linux and Mac text editors should be able to perform similar functions.
To find... | Open Search, and Select... | Paste This into Find | Paste this into Replace |
Pages |
^From afar\, (.*?)$ ^[A-Za-z\-\'\`]+ pages\: (.*?)$ ^Long distance to (.*?)\: (.*?)$ ^You paged (.*?) with \'(.*?)\'$ ^From afar\, to \((.*?)\)\: (.*?)$ ^To \((.*?)\)\, (.*?) pages: (.*?)$ |
Put nothing into Replace (that is, leave it blank) | |
Channel Chatter | ^\[[A-Za-z]+\] (.*?)$ | Put noting into Replace (that is, leave it blank) | |
OOC Chatter | ^<OOC> (.*?)$ | Put noting into Replace (that is, leave it blank) | |
Add an additional line between paragraphs | \r | \r\r | |
Remove any triple lines between paragraphs | \r\r\r | \r\r | |
Remove spacing before poses | Hit the spacebar 9 times (Note, some people use 10, so you may want to run this with both 9 and 10) | Put nothing into Replace (that is, leave it blank) |