You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -192,7 +206,6 @@ Each handler provides its own triggers and actions that can be used in a trigger
192
206
-[StreamElements](#streamelements)
193
207
*[Triggers](#streamelements-triggers)
194
208
+[OnSETwitchBits](#onsetwitchbits)
195
-
+[OnSETwitchBulkGiftSub](#onsetwitchbulkgiftsub)
196
209
+[OnSEDonation](#onsedonation)
197
210
+[OnSETwitchFollow](#onsetwitchfollow)
198
211
+[OnSETwitchGiftSub](#onsetwitchgiftsub)
@@ -355,10 +368,10 @@ The following parameters are always available. Use the `_successful_` and `_unsu
355
368
356
369
***
357
370
358
-
## Actions
371
+
## Action
359
372
Enables the ability to create your own actions within Kruiz Control.
360
373
361
-
### Actions Triggers
374
+
### Action Triggers
362
375
363
376
#### OnAction
364
377
|||
@@ -374,8 +387,15 @@ Enables the ability to create your own actions within Kruiz Control.
374
387
375
388
***
376
389
377
-
### Actions Actions
378
-
None at the moment.
390
+
### Action Actions
391
+
392
+
#### Action
393
+
|||
394
+
------------ | -------------
395
+
**Info** | Used to run an action by passing it through. This allows actions to be fired dynamically within an event. `<action>` is the full action that you want to complete. The action can be provided as a single argument (inside of quotes) or written out normally.
396
+
**Format** | `Action <action>`
397
+
**Example** | `Action Chat Send "Hello world"`
398
+
**Example w/ single argument** | `Action "Chat Send 'Hello world'"`
379
399
380
400
***
381
401
@@ -683,6 +703,88 @@ _WARNING: Kruiz Control responds to messages sent by Kruiz Control. Please be mi
683
703
684
704
***
685
705
706
+
## Cooldown
707
+
Adds the ability to give events a cooldown so that they cannot be repeated within a period of time.
708
+
709
+
### Cooldown Triggers
710
+
None at the moment.
711
+
712
+
***
713
+
714
+
### Cooldown Actions
715
+
716
+
#### Cooldown Apply
717
+
|||
718
+
------------ | -------------
719
+
**Info** | Used to apply a cooldown to triggers. `<name>` is the identifier for the cooldown. `<seconds>` is the number of seconds before the trigger can fire again.
720
+
**Format** | `Cooldown Apply <name> <seconds>`
721
+
**Example** | `Cooldown Apply MyCustomTrigger 30`
722
+
723
+
***
724
+
725
+
#### Cooldown Check
726
+
|||
727
+
------------ | -------------
728
+
**Info** | Used to check if a cooldown is active. `<name>` is the identifier for the cooldown.
729
+
**Format** | `Cooldown Check <name>`
730
+
**Example** | `Cooldown Check MyCustomTrigger`
731
+
732
+
##### Parameters
733
+
|||
734
+
------------ | -------------
735
+
**\<name\>** | [True/False] Whether or not the cooldown is active where **\<name\>** is the name of the cooldown.
736
+
**cooldown** | The number of seconds (rounded to a whole number) left on the cooldown. This is only returned if the cooldown is active (`<name>` is True).
737
+
**cooldown_real** | The decimal number of seconds left on the cooldown. This is only returned if the cooldown is active (`<name>` is True).
738
+
739
+
_Note: The above example, `Cooldown Check MyCustomTrigger`, would return the parameter **MyCustomTrigger**._
740
+
741
+
***
742
+
743
+
#### Cooldown Clear
744
+
|||
745
+
------------ | -------------
746
+
**Info** | Used to clear (remove) an existing cooldown. `<name>` is the identifier for the cooldown.
747
+
**Format** | `Cooldown Clear <name>`
748
+
**Example** | `Cooldown Clear MyCustomTrigger`
749
+
750
+
***
751
+
752
+
#### Cooldown Global Apply
753
+
|||
754
+
------------ | -------------
755
+
**Info** | Used to apply a global cooldown to triggers. Global cooldowns persist between sessions (i.e. the cooldown remains after a reset). `<name>` is the identifier for the cooldown. `<seconds>` is the number of seconds before the trigger can fire again.
756
+
**Format** | `Cooldown Global Apply <name> <seconds>`
757
+
**Example** | `Cooldown Global Apply MyCustomTrigger 30`
758
+
759
+
***
760
+
761
+
#### Cooldown Global Check
762
+
|||
763
+
------------ | -------------
764
+
**Info** | Used to check if a global cooldown is active. Global cooldowns persist between sessions (i.e. the cooldown remains after a reset). `<name>` is the identifier for the cooldown.
765
+
**Format** | `Cooldown Global Check <name>`
766
+
**Example** | `Cooldown Global Check MyCustomTrigger`
767
+
768
+
##### Parameters
769
+
|||
770
+
------------ | -------------
771
+
**\<name\>** | [True/False] Whether or not the cooldown is active where **\<name\>** is the name of the cooldown.
772
+
**cooldown** | The number of seconds (rounded to a whole number) left on the cooldown. This is only returned if the cooldown is active (`<name>` is True).
773
+
**cooldown_real** | The decimal number of seconds left on the cooldown. This is only returned if the cooldown is active (`<name>` is True).
774
+
775
+
_Note: The above example, `Cooldown Global Check MyCustomTrigger`, would return the parameter **MyCustomTrigger**._
776
+
777
+
***
778
+
779
+
#### Cooldown Global Clear
780
+
|||
781
+
------------ | -------------
782
+
**Info** | Used to clear (remove) an existing global cooldown. Global cooldowns persist between sessions (i.e. the cooldown remains after a reset). `<name>` is the identifier for the cooldown.
783
+
**Format** | `Cooldown Global Clear <name>`
784
+
**Example** | `Cooldown Global Clear MyCustomTrigger`
785
+
786
+
***
787
+
686
788
## Debug
687
789
Adds optional logging to Kruiz Control for debugging purposes.
688
790
@@ -1265,33 +1367,6 @@ A small selection of actions that are included for increased usability.
1265
1367
1266
1368
***
1267
1369
1268
-
#### Cooldown Apply
1269
-
|||
1270
-
------------ | -------------
1271
-
**Info** | Used to apply a cooldown to triggers. `<name>` is the identifier for the cooldown. `<seconds>` is the number of seconds before the trigger can fire again.
1272
-
**Format** | `Cooldown Apply <name> <seconds>`
1273
-
**Example** | `Cooldown Apply MyCustomTrigger 30`
1274
-
1275
-
***
1276
-
1277
-
#### Cooldown Check
1278
-
|||
1279
-
------------ | -------------
1280
-
**Info** | Used to check if a cooldown is active. `<name>` is the identifier for the cooldown.
1281
-
**Format** | `Cooldown Check <name>`
1282
-
**Example** | `Cooldown Check MyCustomTrigger`
1283
-
1284
-
##### Parameters
1285
-
|||
1286
-
------------ | -------------
1287
-
**\<name\>** | [True/False] Whether or not the cooldown is active where **\<name\>** is the name of the cooldown.
1288
-
**cooldown** | The number of seconds (rounded to a whole number) left on the cooldown. This is only returned if the cooldown is active (`<name>` is True).
1289
-
**cooldown_real** | The decimal number of seconds left on the cooldown. This is only returned if the cooldown is active (`<name>` is True).
1290
-
1291
-
_Note: The above example, `Cooldown Check MyCustomTrigger`, would return the parameter **MyCustomTrigger**._
1292
-
1293
-
***
1294
-
1295
1370
#### Delay
1296
1371
|||
1297
1372
------------ | -------------
@@ -1556,6 +1631,65 @@ Enables the ability to interact with and respond to OBS.
1556
1631
1557
1632
***
1558
1633
1634
+
#### OBS Media Duration
1635
+
|||
1636
+
------------ | -------------
1637
+
**Info** | Used to retrieve the duration of a media source. `<source>` is the name of the source.
1638
+
**Format** | `OBS Media Duration <source>`
1639
+
**Example** | `OBS Media Duration AlertVideo`
1640
+
1641
+
##### Parameters
1642
+
|||
1643
+
------------ | -------------
1644
+
**duration** | The duration of the file in seconds.
1645
+
1646
+
***
1647
+
1648
+
#### OBS Media Path
1649
+
|||
1650
+
------------ | -------------
1651
+
**Info** | Used to set the file path of a media source. `<source>` is the name of the source. `<path>` is the absolute path to the file.
1652
+
**Format** | `OBS Media Path <source> <path>`
1653
+
**Example** | `OBS Media Path AlertVideo "C:/Users/YOUR_USER_NAME/Stream/alert.webm"`
1654
+
1655
+
***
1656
+
1657
+
#### OBS Media Pause
1658
+
|||
1659
+
------------ | -------------
1660
+
**Info** | Used to pause a media source. `<source>` is the name of the source.
1661
+
**Format** | `OBS Media Pause <source>`
1662
+
**Example** | `OBS Media Pause AlertVideo`
1663
+
1664
+
***
1665
+
1666
+
#### OBS Media Play
1667
+
|||
1668
+
------------ | -------------
1669
+
**Info** | Used to play a media source. `<source>` is the name of the source.
1670
+
**Format** | `OBS Media Play <source>`
1671
+
**Example** | `OBS Media Play AlertVideo`
1672
+
1673
+
***
1674
+
1675
+
#### OBS Media Restart
1676
+
|||
1677
+
------------ | -------------
1678
+
**Info** | Used to restart a media source. `<source>` is the name of the source.
1679
+
**Format** | `OBS Media Restart <source>`
1680
+
**Example** | `OBS Media Restart AlertVideo`
1681
+
1682
+
***
1683
+
1684
+
#### OBS Media Stop
1685
+
|||
1686
+
------------ | -------------
1687
+
**Info** | Used to stop a media source. `<source>` is the name of the source.
1688
+
**Format** | `OBS Media Stop <source>`
1689
+
**Example** | `OBS Media Stop AlertVideo`
1690
+
1691
+
***
1692
+
1559
1693
#### OBS Mute
1560
1694
|||
1561
1695
------------ | -------------
@@ -2191,13 +2325,6 @@ Enables the ability to trigger actions based on StreamElement alerts. Note that
2191
2325
2192
2326
***
2193
2327
2194
-
#### OnSETwitchBulkGiftSub
2195
-
|||
2196
-
------------ | -------------
2197
-
**Info** | Used to trigger actions when someone gifts multiple subscriptions to the community.
0 commit comments