Script:note: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{ScriptCommandPage |description=show the contents of a note or book |parameters= type string The note/book background and size to show textkey text Localization key for the text to display |intro=If a book is already open this command closes it and opens the new book. }} The following note/book types are supported: {| class="wikitable" ! Type ! Description |- | <code>note</code> | A paper note (single page) |- | <code>notice</code> | A stone slab (single page) |- | <c...") |
mNo edit summary |
||
Line 6: | Line 6: | ||
|intro=If a book is already open this command closes it and opens the new book. | |intro=If a book is already open this command closes it and opens the new book. | ||
}} | }} | ||
The text key can optionally start and end with <code>[]</code> brackets, which are ignored. | |||
The following note/book types are supported: | The following note/book types are supported: |
Latest revision as of 11:54, 9 July 2022
The note
script command is used to show the contents of a note or book. If a book is already open this command closes it and opens the new book.
Usage
note <type> <textkey>
Context: Ignored
Parameters:
Parameter | Type | Description |
---|---|---|
type |
string |
The note/book background and size to show |
textkey |
text |
Localization key for the text to display |
The text key can optionally start and end with []
brackets, which are ignored.
The following note/book types are supported:
Type | Description |
---|---|
note
|
A paper note (single page) |
notice
|
A stone slab (single page) |
book
|
A book with two pages visible at once and navigation to other pages if needed |