Release v1.67.0 - Info formatting

We now have more text formatting options for info fields, such as descriptions, about sections, and area rules.

While the purpose is to replace hardcoded information in the client, allowing realm administrator to set info such as Rules themselves, I believe others may also find it useful.

It is a tad experimental yet, and the exact behavior of the new formatting options may change in the future. But feel free to try it out!

Features

Info field formatting

Info fields such as character or room Description, character or area About sections, or realm or area Rules, may now use additional formatting.

Headers

To create headers:

# Large header
## Medium header
### Small header

Results in:

Tables

To create a table with column headers:

| Item  | Price |
| ----- | ----- |
| Pizza | 40c   |
| Drink | 10c   |

Results in:
image

To create a table with row headers:

--- | ---
No minors | Your character has to be at least 18 to enter the area.
No OOC | You have to remain in character while in the area.

Results in:

Fenced code blocks

To create a fenced code block:

```
Fenced code block
```

Results in:
image

No break

To prevent text from breaking and wrapping at spaces:

<nobr>Text that do not break and wrap</nobr>

Escape formatting

To prevent text from being formatted:

<esc>_Not italic_</esc>

Results in:
image

For more information, see:

help format info

Notes

  • The formatting style is similar to Markdown, but does not share all of its syntax.
  • The <nobr> and <esc> looks similar to HTML/XML, but the syntax is really just a choice to make it look more familiar.
  • Fenced code blocks does not support highlighting or indentations yet.

Improvements

Send on Ctrl + Enter in touch mode

When the console is in touch mode, Ctrl + Enter now works as a shortcut to send the message instead of inserting a new line.

Thanks to @Makyo for suggesting it in this topic!

GitHub issue #403 - Send on Ctrl+Enter in touch mode

Host function call time excluded from script call limit

The time limit for how long a room script may run during a call no longer includes the time when the script is waiting for a host function (such as Script.addCommand) to return.

Administration

Realm rules

Administrators may now change the rules of the realm:

set config rules = **Be nice!**

Realm rules may use text formatting and info field formatting.

Fixes

Broken undo/redo in command console

The undo/redo keymapping and history in command input console didn’t work as expected, or not at all. This has been fixed
GitHub issue #397 - Broken undo/redo in command console

Zoom bar not appearing on set room area

When setting the area for a room, the area zoom bar at the of the Room Info page didn’t appear directly. Instead, one had to make another action for it to appear, such as clicking the edit room pencil icon or switching back and forth between characters. This has been fixed
GitHub issue #395 - Zoom bar not appearing on set room area

Halfwidth Hangul Filler missing from invalid letters

The Halfwidth Hangul Filler was missing from the list of invalid letters (all other hangul filler letters were already set as invalid). This has been fixed, and characters with halfwidth hangul fillers in their names will have those letters replaced with dashes (-).
GitHub issue #402 - Hangul filler empty Unicode characters in surname make it impossible to mute/mail/report character

Error on Script.listen with null

When a room script calls Script.listen() without parameters (or with null), the script crashed with an error:

address not found: { } module closed with exit_code(255)

This has been fixed, and the script now instead listens for post messages from any source if the parameter is missing or null.
Thanks to @Xetem for first making me aware, and to @farcaller for reminding me that I hadn’t fixed it!

3 Likes