Project

General

Profile

On DARKMODECHANGED » History » Version 2

Per Amundsen, 08/04/2023 06:22 AM

1 1 Per Amundsen
_Added in 4.4.0_
2
3 2 Per Amundsen
*on <level>:DARKMODECHANGED:<commands>*
4 1 Per Amundsen
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>