Project

General

Profile

Actions

On LOAD » History » Revision 1

Revision 1/8 | Next »
Per Amundsen, 11/14/2015 02:40 AM


Added in 1.8.10

on <level>:LOAD:<commands>

Triggers the first time a script file is loaded.

Parameters

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

Example

; Create a init alias.
alias -l initscript {
  set %loaded on
}

; Listen for the LOAD event, and when matched, run this initscript alias.
on *:LOAD:initscript

Updated by Per Amundsen over 8 years ago · 1 revisions

Also available in: PDF HTML TXT