mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-15 18:59:07 +01:00
12 lines
906 B
HTML
12 lines
906 B
HTML
|
System-wide Replacement Macros:
|
||
|
<ul>
|
||
|
<li><tt>{{user}}</tt> - your current Persona username</li>
|
||
|
<li><tt>{{char}}</tt> - the Character's name</li>
|
||
|
<li><tt>{{input}}</tt> - the user input</li>
|
||
|
<li><tt>{{time}}</tt> - the current time</li>
|
||
|
<li><tt>{{date}}</tt> - the current date</li>
|
||
|
<li><tt>{{idle_duration}}</tt> - the time since the last user message was sent</li>
|
||
|
<li><tt>{{random:(args)}}</tt> - returns a random item from the list. (ex: {{random:1,2,3,4}} will return 1 of the 4 numbers at random. Works with text lists too.</li>
|
||
|
<li><tt>{{roll:(formula)}}</tt> - rolls a dice. (ex: {{roll:1d6}} will roll a 6-sided dice and return a number between 1 and 6)</li>
|
||
|
</ul>
|