Skip to content

Advanced Custom Variables 2.0

CreativeBuilds edited this page Nov 3, 2019 · 3 revisions

In 2.0 you have access to advanced variables. For instance, you may edit/remove users in your users list through this custom variable or function.

To do so you must have eval on, this is how you interact with the code.

Hints

  • Promise - This is a Javascript Promise that returns Some Object. You can read up more on promises here
  • username - This is the blockchain id of the user as denoted by the dlive api not to be confused with DISPLAYNAME which is the actual name you see on dlive.

Functions

name inputs returns
GetUserById username (NOT DISPLAYNAME) Promise

Clone this wiki locally