mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
add /break value
This commit is contained in:
@ -727,6 +727,10 @@ export class SlashCommandParser {
|
||||
cmd.command = this.commands['break'];
|
||||
cmd.start = this.index + 1;
|
||||
this.take('/break'.length);
|
||||
this.discardWhitespace();
|
||||
if (this.testUnnamedArgument()) {
|
||||
cmd.unnamedArgumentList.push(...this.parseUnnamedArgument());
|
||||
}
|
||||
cmd.end = this.index;
|
||||
this.commandIndex.push(cmd);
|
||||
this.scopeIndex.push(this.scope.getCopy());
|
||||
|
Reference in New Issue
Block a user