CSML updates
CSML updates
www.csml.dev

CSML v1.6.1 Release

 

New

 

 

We just released CSML v1.6.1! This update brings a few bugfixes and improvements, but also two interesting new features.

New keyword: forget

This new keyword lets CSML remove data from its memory and, well, obviously, forget things. You can see an example here: https://play.csml.dev/bot/e5804690-d98f-49e2-89be-7530ac9de212

The documentation is here: https://docs.csml.dev/language/standard-library/keywords#forget

Prevent infinite loops

If you have ever been in a situation where a CSML code was running in an infinite loop by mistake, with no way to kill the loop, this feature is for you.

For example, consider this:

start:
  do something()
  goto start

This will now stop after 100 loop executions in a single run (without any "hold" or "goto end"). It should be more than enough as to not be blocking any normal use cases, but it will also prevent you from being stuck there forever.

As usual, the release notes are on Github: https://github.com/CSML-by-Clevy/csml-engine/releases/tag/v1.6.1