{{>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. on *:TEXT:$(* $+ $me $+ *)):%target:echo -ag My nick was highlighted on %targeth1. Scripting Events
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: This event is added as a replacement for OnSongChanged 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: :<*#?=!@>: