Commit Graph

139 Commits

Author SHA1 Message Date
kwaroran
8fe3c2d403 Add ccv3 cbs 2024-05-25 11:14:57 +09:00
Sunho Kim
8497ead17c feat: Substitute first_msg_index even if context is not chat 2024-05-23 19:58:04 -07:00
Sunho Kim
27ef7b8112 feat: Add first_msg_index curly syntax 2024-05-23 19:29:09 -07:00
kwaroran
77849d2a9a feat: Enable dynamic assets for processing data and replace missing asset names with the closest match 2024-05-22 14:52:08 +09:00
kwaroran
e9a84358fb Add prompt type parser 2024-04-30 04:11:04 +09:00
kwaroran
bf15c7d860 Add support for var loading in calc and add special syntax for calc 2024-04-25 04:00:08 +09:00
kwaroran
63e3492466 Fix > and < not working 2024-04-25 03:12:16 +09:00
kwaroran
2d1a504cdb Add unixtime function to parser.ts 2024-04-25 00:44:54 +09:00
kwaroran
eceeb98768 Add setdefaultvar 2024-04-25 00:43:10 +09:00
kwaroran
719040789c Add idle_duration 2024-04-25 00:37:26 +09:00
kwaroran
ba6195f1de Rename idle_duration to message_idle_duration 2024-04-25 00:34:57 +09:00
kwaroran
0d067e27d0 Fix datetime format length check in parser.ts 2024-04-25 00:34:17 +09:00
kwaroran
06742fe16e Update datetimeformat 2024-04-25 00:33:49 +09:00
kwaroran
63e54a4716 Fix consistantChar option not applying 2024-04-24 22:12:24 +09:00
kwaroran
9657f7cc74 Add prefill_supported 2024-04-18 11:46:03 +09:00
kwaroran
ff089e658f Added button to trigger script 2024-04-10 10:51:34 +09:00
kwaroran
3d7d34334c Update trigger button functionality and remove unused code 2024-04-10 10:34:45 +09:00
kwaroran
e65785b225 Refactor logical operators in parser.ts for better readability and consistency 2024-04-08 10:09:42 +09:00
kwaroran
55bbee0281 Refactor nested block handling in parser.ts 2024-04-05 21:52:18 +09:00
kwaroran
d3fda71621 Add emotionlist and assetlist functions to parser.ts 2024-04-05 21:47:39 +09:00
kwaroran
8c5dd7553c Add range cbs 2024-04-05 21:43:54 +09:00
kwaroran
f22694cb5c Change history cbs behavior 2024-04-05 21:42:03 +09:00
kwaroran
0462d731e7 remove console.log 2024-04-05 21:33:43 +09:00
kwaroran
ea58cf81db Fix bug in parser.ts for handling nested blocks 2024-04-05 21:31:02 +09:00
kwaroran
a4c60707af add each statement and fix nested blocks 2024-04-05 21:30:31 +09:00
kwaroran
e795145c5d Refactor if handling 2024-04-05 20:28:13 +09:00
kwaroran
9d55f61230 Add 'remaind' function to calculate remainder 2024-04-04 06:52:20 +09:00
kwaroran
d7f0892c14 Add datetimeformat function to parser.ts 2024-04-04 06:51:14 +09:00
kwaroran
63657a9252 Fix blockStartMatcher function to handle nested blocks 2024-04-04 06:30:33 +09:00
kwaroran
2a3f0830ce Add support for creating arrays in the matcher function 2024-04-03 23:15:17 +09:00
kwaroran
0319f705c4 Add array cbs 2024-04-03 23:14:28 +09:00
kwaroran
5a4a1d7071 Fix incorrect condition in parser.ts 2024-04-03 19:56:37 +09:00
kwaroran
3c568b5287 Fix name in parser.ts 2024-04-03 19:55:04 +09:00
kwaroran
d302aaa79f Add date and time formatting cbs 2024-04-03 19:47:26 +09:00
kwaroran
6a9d88e525 remame time and date cbs to message_time and message_date 2024-04-03 19:37:33 +09:00
kwaroran
1c3c3cc16d Add new cbs to the parser.ts file 2024-04-03 19:36:27 +09:00
kwaroran
8f8441e529 make parse block to trim leading and trailing whitespace in parse function 2024-04-03 19:19:15 +09:00
kwaroran
28d4ee93cf Refactor blockEndMatcher function to use switch statement 2024-04-03 19:18:28 +09:00
kwaroran
9d90901223 Remove trim() function call in parse-pure 2024-04-03 19:17:39 +09:00
kwaroran
2ad8d0e105 Add parse pure and fix statements 2024-04-03 19:15:41 +09:00
kwaroran
6e8c818ed5 Trim whitespace in blockEndMatcher function 2024-04-03 19:12:59 +09:00
kwaroran
f97deccb02 Add pick and pow CBS 2024-04-03 19:12:48 +09:00
kwaroran
aee17205ed Add error handling 2024-03-29 20:36:05 +09:00
kwaroran
3ae75f3e5c Add string manipulation functions to parser.ts 2024-03-29 18:15:17 +09:00
kwaroran
25696c8d60 Refactor variable handling in parser.ts 2024-03-28 18:33:48 +09:00
kwaroran
6caf5bd904 update scriptstate variable access 2024-03-25 03:06:38 +09:00
kwaroran
92335c9f10 Add conditional check for runVar in Comment case 2024-03-25 02:59:58 +09:00
kwaroran
98257b2bd6 Rework variable assignment and processing 2024-03-25 02:56:28 +09:00
kwaroran
fd50692ab0 Fix number parsing in parser.ts 2024-03-24 19:11:14 +09:00
kwaroran
008827c9b5 Add 'tonumber' function to parser.ts 2024-03-24 19:08:19 +09:00