You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (pos & (NOUN_PROPER_SINGULAR|NOUN_PROPER_PLURAL) && canonicalUpper[i] && canonicalUpper[i]->properties & NOUN) // can it be upper case interpretation?
if (!GetCanonical(originalLower[i]) && posValues[i] & NOUN_SINGULAR && !(allOriginalWordBits[i] & NOUN_GERUND) && stricmp(canonicalLower[i]->word,(char*)"unknown-word")) // saw does not become see, it stays original - but singing should still be sing and "what do you think of dafatgat" should remain
WARNSCRIPT((char*)"Is %s supposed to be a rejoinder marker?\r\n",word,currentFilename);
4251
-
4252
-
if ((*word == '}' && level == 0) || TopLevelUnit(word) || TopLevelRule(lowercaseForm) || Rejoinder(lowercaseForm) || !stricmp(word,(char*)"datum:")) // responder definition ends when another major unit or top level responder starts
if ((*word == '}' && level == 0 && optionalBrace) ||TopLevelUnit(word) || TopLevelRule(lowercaseForm) || Rejoinder(lowercaseForm) || !stricmp(word,(char*)"datum:")) // responder definition ends when another major unit or top level responder starts
4253
4253
{
4254
4254
if (*word != ':') // allow commands here
4255
4255
{
@@ -4690,7 +4690,7 @@ Then one of 3 kinds of character:
4690
4690
// word is a rejoinder type
4691
4691
strcpy(kind,lowercaseForm);
4692
4692
}
4693
-
elseReportBug((char*)"unexpected word in ReadTopLevelRule - %s",word)
4693
+
elseReportBug((char*)"Prior script not complete- unexpected top level word %s after seeing %s", lowercaseForm, data - 20)
Copy file name to clipboardExpand all lines: WIKI/ChatScript-System-Variables-and-Engine-defined-Concepts.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -266,6 +266,7 @@ setting them.
266
266
| `%day` |Sunday, etc
267
267
| `%daynumber` | 1-7 where 1 = Sunday
268
268
| `%fulltime` | seconds representing the current time and date (Unix epoch time)
269
+
| `%fullmstime` | Numeric full time/date in milliseconds (Unix epoch time)
269
270
| `%hour` | 0-23
270
271
| `%timenumbers` | completely consistent full time info in numbers that you can do <br>`_0 = ^burst(%timenumbers)`to get `_0` =seconds (2digit) <br>`_1`=minutes (2digit) <br>`_2`=hours (2digit) <br>`_3`=dayinweek(0-6 Sunday=0) <br>`_4`=dateinmonth (1-31) <br>`_5`=month(0-11 January=0) <br>`_6`=year.<br>You need to get it simultaneously if you want to do accurate things with current time, since retrieving %hour %minute separately allows time to change between calls
271
272
| `%leapyear` | boolean if current year is a leap year
0 commit comments