RP Logs

From Dark City
Revision as of 20:46, 30 August 2021 by JJ (talk | contribs) (→‎Log Formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Posting logs is optional, unless you are STing.

Posting a Log

Posting a log is simple. Just follow these easy step-by-step instructions, and then all of your logs can be pretty and wikified, too!

  1. Login: Make sure that you have a wiki login, and that you are logged in. In the top right of the screen, you may see a link to log in / create account. If you do, then you are not logged in. Click that link, and log in.
  2. Permission: Any scenes involving NPCs must be logged on the site. For scenes involving PCs only, you are required to get all participants approval before posting the log.
  3. Link: Type in the title of your log below and hit 'Create Log'. This will take you to a page where you can paste in the contents of your log. Further instructions can be found there.



Reminders

Spoiler Warning

  • The contents of these pages can and will contain secrets. Do not use any of the information contained therein in any sort of IC or metagaming capacity. You will not get a warning; you will be banned immediately.

NSFW Note

  • Bah bah bah bah bah. 🗞️ Do not post the Very Adult Content, please. Those are yours, we don't want to see them.

Notepad++ Log Cleanup Regex

File:Notepadregular.png

Use Notepad++, TextMate, Atom, or another "smart" raw .txt editing word processor. Use the Find and Replace feature with Regular Expression ("Regex") selected.

Log Formatting

1. Copy logs from discord.

2. Paste into a text editor with regex find and replace.

3. Ctrl+H

4. Enable Regex mode if it is not already.

5. Put the following into the Find: and Replace: Fields in order to format who is speaking:

Find:
^(.*) — (.* at \d?\d:\d\d .M|\d\d/\d\d/\d\d\d\d)$

Replace:
\n'''$1:'''<br />

OR in Discord Compact Mode:

Find:
^(.*\[\d?\d:\d\d .M\]) (.*:)

Replace:
\n'''$2'''<br />

File:Nameregexbefore.png

File:Nameregexafter.png

6. Put the following into the Find: and Replace: Fields in order to remove ((OOC Comments)) and (edited) notices:

Find:
('''.*:'''<br />(\n\(\(.*\)\))+\n\n(?=('''.*:'''<br />)))|(^\(\(.*\)\)$\n)|(\(\(.*\)\) *)|(\((E|e)dited\))

Replace:

File:Oocregexbefore.png

File:Oocregexafter.png

This code was created by Blight and Feathers.