In a browser, JavaScript scripts can store persistent data (the data which survives page reload) using a localStorage mechanism. We’ve added the similar functionality to the Bots Playground: localStorage.set() and localStorage.get() functions. These two functions store and retrieve values to/from a persistent storage: var controlling_avatar = localStorage.get(“my_master”); … if(new_master) { controlling_avatar = new_master; // We…
Forum
Developers Forum
-
- Forum
- Topics
- Last Post