Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save braddevelop/20c9c5b97a85a9a5c4cb924b511e494a to your computer and use it in GitHub Desktop.
Save braddevelop/20c9c5b97a85a9a5c4cb924b511e494a to your computer and use it in GitHub Desktop.
Hellfred Basics: Hellfire subscriber structure
-- Structure of a Hellfire subscriber
{
trigger, -- a key or sequence of keys that triggers the callback
callback -- a function that wraps an action/behaviour
fireIfModeIs, -- only execute callback if Hellfire is in this mode
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment