You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

evaluate_script()

Usage

evaluate_script(entity, script)

Description
Evaluates script given as string in the context of given parameters.

Note

This function poses a very severe security risk if you are using it with user-provided content!

Example

${evaluate_script(me, "print(this.name)")}

results in the name of the current user being printed.

Search results for "evaluate_script()"

evaluate_script()

Evaluates the given script in the context of given entity.

evaluate_script(entity, script)