{{>toc}} h1. Scripting Event Options Supported <level> prefixes: & - Ignore the event if another event has already halted the text. ^ - Enable halt events (hide default text output from the event) ! - Ignore events made by you @ - Only trigger if you have channel op $ - Indicate the wildcard text is a regular expression. me: - Ignore events not made by you. [+]<level> - Level to match. h1. Scripting Event Evaluation Matchtext and Target Window can be evaluated using $(code) or contain a single %variable. *Example*
; Set a target variable. set %target #channel ; Subscribe to the TEXT event, try evaluate my nick, and if it matches, print a text. on *:TEXT:$(* $+ $me $+ *)):%target:echo -ag My nick was highlighted on %targeth1. Scripting Events |^. [[on RAW]] [[on CTCP]] on [[on ACTION]] on [[on ACTIVE]] on [[on APPACTIVE]] on [[on BAN]] on [[on CHAT]] on [[on CLIENTTEXT]] on [[on CONNECT]] on [[on CONNECTFAIL]] on [[on CTCPREPLY]] on [[on DEHELP]] on [[on DEOP]] on [[on DEVOICE]] on [[on DISCONNECT]] on [[on DNS]] |^. on [[on ERROR]] on [[on EXIT]] on [[on FILERCVD]] on [[on FILESENT]] on [[on GETFAIL]] on [[on HELP]] on [[on HOTLINK]] on [[on INPUT]] on [[on INVITE]] on [[on JOIN]] on [[on KICK]] on [[on LOAD]] on [[on LOGON]] on [[on MODE]] on [[on MP3END]] |^. on [[on NICK]] on [[on NOTICE]] on [[on NOTIFY]] on [[on OP]] on [[on OPEN|CLOSE]] on [[on OPTIONS]] on [[on PARSELINE]] on [[on PART]] on [[on PING]] on [[on PONG]] on [[on QUIT]] on [[on RAWMODE]] on [[on RESUME]] on [[on SENDFAIL]] on [[on SIGNAL]] on [[on SNOTICE]] |^. on [[on SOCKCLOSE]] on [[on SOCKLISTEN]] on [[on SOCKOPEN]] on [[on SOCKREAD]] on [[on SONG]] on [[on START]] on [[on SUSPEND]] on [[on TABCOMP]] on [[on TEXT]] on [[on TOPIC]] on [[on UNBAN]] on [[on UNLOAD]] on [[on UNNOTIFY]] on [[on USERMODE]] on [[on VOICE]] on [[on WALLOPS]] |
raw: : ctcp : :<*|#|?>: on :SOCKOPEN:name:commands on :SOCKREAD:name:commands on :SOCKLISTEN:name:commands on :SOCKCLOSE:name:commands on :SIGNAL:name:command on :LOGON:*: on :DNS: on :CTCPREPLY: : on :OPEN|CLOSE:|@|=|!|*>: : on :APPACTIVE: on :ACTIVE:<*#?=!@>: on :HOTLINK: :<*#?=!@>: on :INVITE:<#[,#]>: on :TABCOMP:<*#?=!@>: on :WALLOPS: : on :ERROR: : on :RAWMODE:#: on :DEHELP:<#[,#]>: on :HELP:<#[,#]>: on :DEVOICE:<#[,#]>: on :VOICE:<#[,#]>: on :DEOP:<#[,#]>: on :OP:<#[,#]>: on :INPUT:<*#?=!@>: on :UNBAN:<#[,#]>: on :BAN:<#[,#]>: on :CHAT: : on :KICK:<#[,#]>: on :NOTIFY: on :UNNOTIFY: on :NICK: on :QUIT: on :LOAD: on :UNLOAD: ' on :START: on :EXIT: on :DNS: on :CONNECTFAIL: on :CONNECT: on :DISCONNECT: on :TOPIC:<#[,#]>: on :USERMODE: on :MODE:<#[,#]>: on :PART:<#[,#]>: on :JOIN:<#[,#]>: on :SNOTICE: : on :NOTICE: :<*>><#[,#]>: on :ACTION: :<*>><#[,#]>: on :TEXT: :<*>><#[,#]>: on :MP3END: on :PARSELINE: :matchtext: on :PING: on :PONG: on :FILESENT: : on :FILERCVD: : on :SENDFAIL: : on :GETFAIL: : Triggers when the computer is about to suspend. on :SUSPEND: Triggers when the computer resumes from suspend. on :RESUME: Triggers when the chosen media player changes song. on :SONG: Triggers whenever the config file is reloaded on :OPTIONS: Triggers whenever the client sends a client text to any window, $1- will hold the original client text, haltable. on :CLIENTTEXT: :<*#?=!@>: