Skip to content

Keyword Pointers

zenonet edited this page Nov 2, 2022 · 4 revisions

works in v0.5+

Creating a pointer

You are able to create keyword pointers using the wasWith Statement.
This works by writing a color name followed by wasWith and finally the name of a keyword.
Example:

red wasWith killed

This will set red's value to the index of killed in the keyword list.

Using a pointer##

After creating the pointer, you can now use the color you assigned the pointer to as a keyword.
Example:

cyan red

Since red points to the keyword killed, this will increase cyan by 10.

Clone this wiki locally