Project

General

Profile

Scripting Events » History » Revision 71

Revision 70 (Per Amundsen, 11/17/2015 12:12 PM) → Revision 71/120 (Per Amundsen, 11/17/2015 12:16 PM)

{{>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 Events 

 Various actions in AdiIRC causes an event to be triggered, these events can be listened to and commands can be performed when they trigger. 

 Events in bold are AdiIRC only. 

 |^. [[on RAW]] 
 [[on CTCP]] 
 [[on ACTION]] 
 [[on ACTIVE]] 
 [[on BAN]] 
 [[on CHAT]] 
 *[[on CLIENTTEXT]]* 
 [[on CLOSE]] 
 [[on CONNECT]] 
 [[on CONNECTFAIL]] 
 [[on CTCPREPLY]] 
 [[on DEHELP]] 
 [[on DEOP]] 
 [[on DEVOICE]] 
 [[on DIALOG]] 
  |^. [[on DISCONNECT]] 
 [[on DNS]] 
 [[on ERROR]] 
 [[on EXIT]] 
 [[on FILERCVD]] 
 [[on FILESENT]] 
 [[on GETFAIL]] 
 [[on HELP]] 
 [[on HOTLINK]] 
 [[on INPUT]] 
 [[on INVITE]] 
 [[on JOIN]] 
 [[on KEYDOWN]] 
 [[on KEYUP]] 
 [[on KICK]] 
   |^. [[on LOAD]] 
 [[on LOGON]] 
 [[on MODE]] 
 [[on MP3END]] 
 [[on NICK]] 
 [[on NOTICE]] 
 [[on NOTIFY]] 
 [[on OP]] 
 [[on OPEN]] 
 *[[on OPTIONS]]* 
 [[on PARSELINE]] 
 [[on PART]] 
 [[on PING]] 
 [[on PONG]] 
 [[on QUIT]] 
  |^.    [[on RAWMODE]] 
 *[[on RESUME]]* 
 [[on SENDFAIL]] 
 [[on SERVERMODE]] 
 [[on SIGNAL]] 
 [[on SNOTICE]] 
 [[on SOCKCLOSE]] 
 [[on SOCKLISTEN]] 
 [[on SOCKOPEN]] 
 [[on SOCKREAD]] 
 *[[on SONG]]* 
 [[on START]] 
 *[[on SUSPEND]]* 
 [[on TABCOMP]] 
  |^.    [[on TEXT]] 
 [[on TOPIC]] 
 [[on UNBAN]] 
 [[on UNLOAD]] 
 [[on UNNOTIFY]] 
 [[on UNOTIFY]] 
 [[on USERMODE]] 
 [[on VOICE]] 
 [[on WALLOPS]] 
  | 

 <pre> 
 on <level>:SOCKOPEN:name:<commands> 

 on <level>:SOCKREAD:name:<commands> 

 on <level>:SOCKLISTEN:name:<commands> 

 on <level>:SOCKCLOSE:name:<commands> 

 on <level>:ACTIVE:<*#?=!@>:<commands> 

 on <level>:HOTLINK:<matchtext>:<*#?=!@>:<commands> 

 on <level>:INVITE:<#[,#]>:<commands> 

 on <level>:TABCOMP:<*#?=!@>:<commands> 

 on <level>:WALLOPS:<matchtext>:<commands> 

 on <level>:RAWMODE:#:<commands> 

 on <level>:INPUT:<*#?=!@>:<commands> 

 on <level>:CHAT:<matchtext>:<commands> 

 on <level>:NOTIFY:<commands> 

 on <level>:UNNOTIFY:<commands> 

 on <level>:QUIT:<commands> 

 on <level>:EXIT:<commands> 

 on <level>:CONNECTFAIL:<commands> 

 on <level>:CONNECT:<commands> 

 on <level>:DISCONNECT:<commands> 

 on <level>:USERMODE:<commands> 

 on <level>:MODE:<#[,#]>:<commands> 

 on <level>:MP3END:<commands> 

 on <level>:PARSELINE:<in|out|*>:matchtext:<commands> 
 </pre> 

 h1. Missing events 

 AGENT 
 CHATOPEN 
 DCCSERVER 
 DEOWNER 
 MDIEND 
 NOSOUND 
 OWNER 
 WAVEEND 
 VCMD 
 PLAYEND 
 SERV 
 SERVCLOSE 
 SERVEROP 
 SERVOPEN 
 SOCKWRITE 
 UPDREAD 
 UPDWRITE