diff --git a/streamerbot/3.api/2.triggers/core/global-variables/global-variable-created.md b/streamerbot/3.api/2.triggers/core/global-variables/global-variable-created.md new file mode 100644 index 00000000..4f1d859c --- /dev/null +++ b/streamerbot/3.api/2.triggers/core/global-variables/global-variable-created.md @@ -0,0 +1,38 @@ +--- +title: Global Variable Created +description: Triggered when a global variable has been created +version: +parameters: + - name: Variable Name + type: Text + description: | + Enter the name of a specific global variable + + Leave empty to trigger on **any** global variable. + - name: Persisted + type: Select + required: true + default: Either + version: + description: | + - `Either` - Trigger on **both** persisted and non-persisted variables + - `Yes` - Trigger only on **persisted** variables + - `No` - Trigger only on **non-persisted** variables +variables: + - name: global.name + type: string + description: + value: myGlobalVariable + - name: global.value + type: string + description: + value: My value + - name: global.persisted + type: bool + description: + value: True + - name: global.lastWrite + type: DateTime + description: + value: 8/4/2023 10:56:06 AM +--- \ No newline at end of file diff --git a/streamerbot/3.api/2.triggers/core/global-variables/global-variable-deleted.md b/streamerbot/3.api/2.triggers/core/global-variables/global-variable-deleted.md new file mode 100644 index 00000000..f13bbb68 --- /dev/null +++ b/streamerbot/3.api/2.triggers/core/global-variables/global-variable-deleted.md @@ -0,0 +1,30 @@ +--- +title: Global Variable Deleted +description: Triggered when a global variable has been deleted +version: +parameters: + - name: Variable Name + type: Text + description: | + Enter the name of a specific global variable + + Leave empty to trigger on **any** global variable. + - name: Persisted + type: Select + required: true + default: Either + version: + description: | + - `Either` - Trigger on **both** persisted and non-persisted variables + - `Yes` - Trigger only on **persisted** variables + - `No` - Trigger only on **non-persisted** variables +variables: + - name: global.name + type: string + description: + value: myGlobalVariable + - name: global.persisted + type: bool + description: + value: True +--- \ No newline at end of file diff --git a/streamerbot/3.api/2.triggers/core/inputs/key-press.md b/streamerbot/3.api/2.triggers/core/inputs/key-press.md new file mode 100644 index 00000000..25ff8976 --- /dev/null +++ b/streamerbot/3.api/2.triggers/core/inputs/key-press.md @@ -0,0 +1,31 @@ +--- +title: Mouse Click +description: Triggered when a mouse button is clicked +version: 1.0.0 +parameters: + - name: Key Combination + type: Text + description: | + Combination of keys +variables: + - name: modifier + type: number + description: + value: 11 + - name: hasCtrl + type: bool + description: + value: True + - name: hasAlt + type: bool + description: + value: True + - name: hasShift + type: bool + description: + value: True + - name: key + type: number + description: + value: 92 +--- \ No newline at end of file diff --git a/streamerbot/3.api/2.triggers/core/inputs/mouse-click.md b/streamerbot/3.api/2.triggers/core/inputs/mouse-click.md new file mode 100644 index 00000000..f21122d4 --- /dev/null +++ b/streamerbot/3.api/2.triggers/core/inputs/mouse-click.md @@ -0,0 +1,23 @@ +--- +title: Mouse Click +description: Triggered when a mouse button is clicked +version: 1.0.0 +parameters: +variables: + - name: mouse.button + type: number + description: + value: 1 + - name: mouse.clicks + type: number + description: + value: 1 + - name: mouse.x + type: number + description: + value: 514 + - name: mouse.y + type: number + description: + value: 323 +--- \ No newline at end of file diff --git a/streamerbot/3.api/2.triggers/integrations/vtube-studio/model-loaded.md b/streamerbot/3.api/2.triggers/integrations/vtube-studio/model-loaded.md index fb3c770e..63998401 100755 --- a/streamerbot/3.api/2.triggers/integrations/vtube-studio/model-loaded.md +++ b/streamerbot/3.api/2.triggers/integrations/vtube-studio/model-loaded.md @@ -7,4 +7,5 @@ variables description: If the model is loaded value: True commonVariables: - - VTubeModel \ No newline at end of file + - VTubeModel +--- \ No newline at end of file diff --git a/streamerbot/3.api/2.triggers/integrations/vtube-studio/model-unloaded.md b/streamerbot/3.api/2.triggers/integrations/vtube-studio/model-unloaded.md index 8c99e63e..81bbcb25 100755 --- a/streamerbot/3.api/2.triggers/integrations/vtube-studio/model-unloaded.md +++ b/streamerbot/3.api/2.triggers/integrations/vtube-studio/model-unloaded.md @@ -7,4 +7,5 @@ variables: description: If the model is loaded value: False commonVariables: - - VTubeModel \ No newline at end of file + - VTubeModel +--- \ No newline at end of file