On DARKMODECHANGED » History » Version 1
Per Amundsen, 08/04/2023 06:22 AM
1 | 1 | Per Amundsen | _Added in 4.4.0_ |
---|---|---|---|
2 | |||
3 | *on <level>:SONG:<commands>* |
||
4 | |||
5 | Triggers when [[DarkMode]] is changed. |
||
6 | |||
7 | *Parameters* |
||
8 | |||
9 | <level> - The [[User Access Level]] for the event to trigger. |
||
10 | <commands> - The commands to be performed when the event listener's criteria is met. |
||
11 | |||
12 | _See also [[$darkmode]]._ |
||
13 | |||
14 | *Example* |
||
15 | |||
16 | <pre> |
||
17 | on *:DARKMODECHANGED:echo -ag DarkMode is now $iif($darkmode, on, off) |
||
18 | </pre> |