Skip to content

Instantly share code, notes, and snippets.

@zymsys
Last active March 1, 2021 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zymsys/d2eedee415afcb5551934a4c83d73ad8 to your computer and use it in GitHub Desktop.
Save zymsys/d2eedee415afcb5551934a4c83d73ad8 to your computer and use it in GitHub Desktop.
Hidden Gems in Fantasy Grounds

Debug.print()

/debug on

onValueChanged

You can use printstack from this to see why a value has changed. I'd like to build a listener extension fror OOB. Maybe I could support listening for values too. Was going to support listening for dice rolls.

Session.isHost

This is a variable, so is faster than User.isHost(). All the cool kids are using it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment