Commit Graph

85 Commits

Author SHA1 Message Date
LenAnderson
03b80900d6 add optional named arguments to /run command 2023-12-27 12:28:15 +00:00
Cohee
a85a6cf606 Allow displaying unreferenced macro in message texts 2023-12-21 20:49:03 +02:00
Cohee
029cf598ce Fix /peek command 2023-12-19 23:12:14 +02:00
Cohee
f249ff8b20 Fix slash commands for offscreen group members 2023-12-18 01:39:37 +02:00
LenAnderson
69f90a0b30 add /tokens slash command to call getTokenCount 2023-12-11 22:51:07 +00:00
Cohee
6f610204d6
Merge pull request #1488 from LenAnderson/add-index-argument-to-setvar-/-setglobalvar
Add index argument to setvar / setglobalvar
2023-12-08 00:40:14 +02:00
Cohee
2607e787ff Put comment command on hold 2023-12-08 00:38:13 +02:00
Cohee
e2f886d796 Revert pipe caching 2023-12-08 00:33:27 +02:00
LenAnderson
65f2cc1952 add a comment slash commend /#
for commenting longer ST scripts
2023-12-07 18:29:28 +00:00
LenAnderson
d52b5fb947 pass prev pipeResult through if result undefined 2023-12-07 18:28:58 +00:00
Cohee
e804f27368 Convert value to string for echo. Fix return value 2023-12-07 19:37:55 +02:00
Cohee
75abc6101a /input input => /input default 2023-12-07 13:44:49 +02:00
Cohee
0e6802c9d9 Too much lint 2023-12-07 13:35:48 +02:00
SrJuggernaut
d6d0371459 add missing args to some slash commands 2023-12-06 19:26:29 -06:00
Cohee
6e09e45651 Fix /trigger and /continue auto-execution 2023-12-02 22:34:46 +02:00
Cohee
64a3564892 lint: Comma dangle 2023-12-02 22:06:57 +02:00
Cohee
c63cd87cc0 lint: Require semicolons 2023-12-02 21:11:06 +02:00
Cohee
9faa1e34b0 Merge branch 'staging' into singlequote 2023-12-02 20:43:41 +02:00
Cohee
a28c23d295 Wait for generation unlock before running continue or trigger 2023-12-02 20:12:36 +02:00
valadaptive
a37f874e38 Require single quotes 2023-12-02 13:04:51 -05:00
valadaptive
c893e2165e Enable no-prototype-builtins lint 2023-12-02 12:10:31 -05:00
valadaptive
9204a31d32 Enable no-self-assign lint 2023-12-02 10:32:07 -05:00
Cohee
b0d21659eb /inject command to add prompt injections 2023-11-28 01:44:13 +02:00
Cohee
188897a3df Add "at" argument to commands sending a message 2023-11-27 19:48:49 +02:00
Cohee
edafb8dd13 Repurpose trigger command not just for groups 2023-11-27 11:16:40 +02:00
Cohee
fd0edd67a6 Fix recursive QR auto-execution 2023-11-27 02:18:36 +02:00
Cohee
9c01a849cb Add buttons command 2023-11-26 17:05:55 +02:00
Cohee
3bc91f10ec Fix command aliases 2023-11-26 15:47:11 +02:00
Cohee
e6c96553d0 Add text trimming commands 2023-11-26 13:55:22 +02:00
Cohee
c259c0a72a Skip hidden messages from /message command 2023-11-26 01:15:19 +02:00
Cohee
c6aea00e27 Resolve ephemeral stop strings variables 2023-11-26 00:56:55 +02:00
Cohee
b8d7b0922d Fix evaluation order of named args 2023-11-25 18:18:57 +02:00
Cohee
06ade803fa Concatenate strings in /addvar 2023-11-25 17:45:40 +02:00
Cohee
851a00630a Add /popup command 2023-11-24 19:50:49 +02:00
Cohee
a178bdc3b0 Fix ephemeral stopping strings flush 2023-11-24 19:06:31 +02:00
Cohee
2c8e855385 Resolve variables in /fuzzy 2023-11-24 17:41:49 +02:00
Cohee
adb3badcc1 Add /messages and /setinput commands 2023-11-24 17:12:59 +02:00
Cohee
c9b3ccc585 Add STscript procedure calls with /run command 2023-11-24 15:58:00 +02:00
Cohee
dd17c2483f Add lock=on/off to /gen and /genraw commands 2023-11-24 15:18:49 +02:00
Cohee
ad8709842b STscript improvements (see below)
Add /while loop
Add escaping of macros in sub-commands
Add /input prompt
2023-11-24 12:49:14 +02:00
Cohee
d3ea5c081d Add /pass and /fuzzy commands 2023-11-24 02:21:50 +02:00
Cohee
74fbc88d7d Move macros replacement to script execution time 2023-11-24 01:56:43 +02:00
Cohee
c4e1fff1bc Respect # limit for ephemeral stop strings 2023-11-24 00:54:23 +02:00
Cohee
863554fea6 Add ephemeral stop strings to /genraw 2023-11-24 00:51:27 +02:00
Cohee
c2e3bfa06d /genraw instruct=off 2023-11-24 00:36:35 +02:00
Cohee
c50ed4bf6a STscript improvements (see below)
/abort command, {{pipe}} macro in named args, subcommand batch escaping with backslash, string literals and rules for /if, else clause for /if
2023-11-24 00:18:07 +02:00
Cohee
3594c4aac7 Add {{newline}} and {{pipe}} macros 2023-11-23 22:56:52 +02:00
Cohee
86819b6f4f Add /genraw command 2023-11-23 22:50:13 +02:00
Cohee
6d0982e823 Unleash the variables / STscript alpha 2023-11-23 22:36:48 +02:00
Cohee
55af72cb17 /addswipe command 2023-11-22 01:26:17 +02:00