Added in 4.4.0

on <level>:DARKMODECHANGED:<commands>

Triggers when DarkMode is changed.

Parameters

<level> - The User Access Level for the event to trigger.
<commands> - The commands to be performed when the event listener's criteria is met.

See also $darkmode.

Example

on *:DARKMODECHANGED:echo -ag DarkMode is now $iif($darkmode, on, off)