Skip to content

Saving Variables

Alexander edited this page Mar 13, 2019 · 2 revisions

Here we have a simple example on how to save variables without the need of a config.

//Saving an string
variable.set("ourKey", "Our text that we want to save");

//Getting an string
var ourText = variable.get("ourKey);

//Checking if our variable exists, returns a boolean.
variable.exist("ourKey");

//Deleting our variable.
variable.delete("ourKey");