Skip to content

Commit 9ff7d21

Browse files
fix: add images
1 parent 2c6b28b commit 9ff7d21

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed
24.2 KB
Loading
15.5 KB
Loading

streamerbot/3.api/1.sub-actions/core/logic/switch.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,15 @@ parameters:
2323

2424
You can add any number of cases to a switch by right clicking on the `switch` Sub-Action and selecting "Add Case"
2525

26-
![Switch Sub-Action context menu showing "Add Case" option](assets/switch-add-case-context-menu.png)
26+
![Switch context menu showing "Add Case" option](assets/switch-add-case-context-menu.png){width=300}
2727

2828
You can add one or more values to a case. If any of the case's values match the `switch` input, that case will be executed.
2929

30-
![Add Case Dialogue](assets/switch-add-case-dialogue.png)
30+
For example, in the image below, if the `%count%` value is `1`, the first case will be executed.
31+
32+
![Add Case Dialogue](assets/switch-add-case-dialog.png)
3133

3234
::note
3335
Only the first matching case will be executed.
3436
- If no cases match, the `default` case will be executed.
35-
::
37+
::

0 commit comments

Comments
 (0)