Files
SillyTavern/public/scripts/slash-commands
LenAnderson 0ffe6f195e add parser flag REPLACE_GETVAR
Replaces all {{getvar::}} and {{getglobalvar::}} macros with {{var::}}.
Inserts a series of command executors before the command with the macros that:
- save {{pipe}} to a var
- call /getvar or /getglobalvar to get the variable used in the macro
- call /let to save the retrieved variable
- return the saved {{pipe}} value

This helps to avoid double-substitutions when the var values contain text that could be interpreted as macros.
2024-04-20 08:34:36 -04:00
..
2024-04-16 17:00:03 -04:00
2024-04-20 07:37:30 -04:00