Skip to content

13.2

Compare
Choose a tag to compare
@ChatScript ChatScript released this 13 Jun 13:36
· 7 commits to master since this release

Note- you will be forced to recompile your bot when you run this version initially.
Formats for compiled data have changed.

  1. ^load() removed

  2. JSON autoindirects a get or assign expression of a variable whose value is itself a variable.
    if $x = '$y' and $y points to a json structure, then $x is auto and $x.val means $y.val .

  3. Advanced replace substitution- you can name a pattern (which can extend over multiple lines)
    that can conditionally change the
    matched word into any other word or remove it or do nothing.
    Matching starts with _0 having been assigned to the location of the word/phrase to replace.
    e.g.:
    replace: bubble_tea ([
    (is $$cs_replace:=2)
    (has $$cs_replace:=null)
    (@_0- *~2 my $$cs_replace:=1)
    ])
    "bubble tea is" -> 2 is
    "bubble tea has" -> has
    "my green bubble tea loves" -> my green 1 loves
    You cannot use concepts in these patterns, nor the canonical forms of words.

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy