$client
This object is used for storing persistent client data.
After all bot reactions have been executed, the $client
structure is saved to the internal database.
There are no specific fields.
There is a limit on the amount of data stored in the $client
object.
If this limit is exceeded, the current script is aborted and the bot stops responding to the client.
How to use
state: Welcome
q!: $regex</start>
if: !$client.wasGreeted
script:
$client.wasGreeted = true;
a: Hello and welcome to our online store!
else:
a: Hello again!