Added in 2.0

on <level>:SUSPEND:<commands>

Triggers when the computer is about to suspend/sleep.

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.

Example

on *:SUSPEND:echo -ag Computer is about to suspend.