mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
add split count to /times, /let, and /var
This commit is contained in:
@ -1372,6 +1372,7 @@ export function registerVariableCommands() {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
splitUnnamedArgument: true,
|
splitUnnamedArgument: true,
|
||||||
|
splitUnnamedArgumentCount: 1,
|
||||||
helpString: `
|
helpString: `
|
||||||
<div>
|
<div>
|
||||||
Execute any valid slash command enclosed in quotes <code>repeats</code> number of times.
|
Execute any valid slash command enclosed in quotes <code>repeats</code> number of times.
|
||||||
@ -2001,6 +2002,7 @@ export function registerVariableCommands() {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
splitUnnamedArgument: true,
|
splitUnnamedArgument: true,
|
||||||
|
splitUnnamedArgumentCount: 1,
|
||||||
helpString: `
|
helpString: `
|
||||||
<div>
|
<div>
|
||||||
Get or set a variable.
|
Get or set a variable.
|
||||||
@ -2043,6 +2045,7 @@ export function registerVariableCommands() {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
splitUnnamedArgument: true,
|
splitUnnamedArgument: true,
|
||||||
|
splitUnnamedArgumentCount: 1,
|
||||||
helpString: `
|
helpString: `
|
||||||
<div>
|
<div>
|
||||||
Declares a new variable in the current scope.
|
Declares a new variable in the current scope.
|
||||||
|
Reference in New Issue
Block a user