| title | description | published | date | tags | editor | dateCreated |
|---|---|---|---|---|---|---|
Generic Variables |
Variables Reference |
true |
2023-04-25 17:23:55 UTC |
variables, reference |
markdown |
2022-06-30 19:57:33 UTC |
Generic variables are always available to most event sources, so consider these the bare minimum you can use in your Sub-Actions
Useful general purpose variables{.subtitle}
| Name | Description |
|---|---|
date |
Current system date Accepts any standard formatting notation eg. %date:yyyy/MM/dd% or %date:dddd, dd MMMM yyyy%{.small} |
time |
Current system time Accepts any standard formatting notation eg. HH-mm{.small} |
| {.vars-table} |
Variables related to the triggering event source{.subtitle}
These variables aren't strings and thus cannot be used in if statement Sub-Actions. To compare these values C# is needed with the usage of the appropriate types {.is-warning}
| Name | Description |
|---|---|
__source |
The name of the event triggering the action |
eventSource |
Value to specify which platform generated the event twitch or youtube |
| {.vars-table} |
Variables related to the action being called{.subtitle}
| Name | Description |
|---|---|
actionId |
The unique ID number of the first action called. |
actionName |
The name of the action. |
runningActionId |
The instance ID number of the action in the queue. |
actionQueuedAt |
The ISO 8601 time that the action was queued. |
| {.vars-table} |