Project

General

Profile

Scripting Events » History » Version 56

Per Amundsen, 11/14/2015 01:24 PM

1 17 Per Amundsen
{{>toc}}
2
3 33 Per Amundsen
h1. Scripting Event Options
4 1 Per Amundsen
5 8 Per Amundsen
Supported <level> prefixes:
6
7 11 Per Amundsen
& - Ignore the event if another event has already halted the text.
8 8 Per Amundsen
^ - Enable halt events (hide default text output from the event)
9
! - Ignore events made by you
10
@ - Only trigger if you have channel op
11
$ - Indicate the wildcard text is a regular expression.
12
me: - Ignore events not made by you.
13 18 Per Amundsen
[+]<level> - Level to match.
14 1 Per Amundsen
15 33 Per Amundsen
h1. Scripting Events
16 15 Per Amundsen
17 53 Per Amundsen
Various actions in AdiIRC causes an event to be triggered, these events can be listened to and commands can be performed when they trigger.
18
19 37 Per Amundsen
Events in bold are AdiIRC only.
20
21 28 Per Amundsen
|^. [[on RAW]]
22
[[on CTCP]]
23 29 Per Amundsen
[[on ACTION]]
24
[[on ACTIVE]]
25
[[on BAN]]
26 1 Per Amundsen
[[on CHAT]]
27 37 Per Amundsen
*[[on CLIENTTEXT]]*
28 30 Per Amundsen
[[on CLOSE]]
29 29 Per Amundsen
[[on CONNECT]]
30
[[on CONNECTFAIL]]
31
[[on CTCPREPLY]]
32
[[on DEHELP]]
33
[[on DEOP]]
34
[[on DEVOICE]]
35 30 Per Amundsen
 |^. [[on DIALOG]]
36 29 Per Amundsen
[[on DISCONNECT]]
37 1 Per Amundsen
[[on DNS]]
38 30 Per Amundsen
[[on ERROR]]
39 29 Per Amundsen
[[on EXIT]]
40
[[on FILERCVD]]
41
[[on FILESENT]]
42
[[on GETFAIL]]
43
[[on HELP]]
44
[[on HOTLINK]]
45
[[on INPUT]]
46
[[on INVITE]]
47 1 Per Amundsen
[[on JOIN]]
48
[[on KEYDOWN]]
49 49 Per Amundsen
[[on KEYUP]]
50
  |^. [[on KICK]]
51 29 Per Amundsen
[[on LOAD]]
52
[[on LOGON]]
53
[[on MODE]]
54 1 Per Amundsen
[[on MP3END]]
55 29 Per Amundsen
[[on NICK]]
56 30 Per Amundsen
[[on NOTICE]]
57 29 Per Amundsen
[[on NOTIFY]]
58 1 Per Amundsen
[[on OP]]
59 30 Per Amundsen
[[on OPEN]]
60 37 Per Amundsen
*[[on OPTIONS]]*
61 1 Per Amundsen
[[on PARSELINE]]
62 29 Per Amundsen
[[on PART]]
63 30 Per Amundsen
[[on PING]]
64 49 Per Amundsen
[[on PONG]]
65
 |^.  [[on QUIT]]
66 29 Per Amundsen
[[on RAWMODE]]
67 37 Per Amundsen
*[[on RESUME]]*
68 1 Per Amundsen
[[on SENDFAIL]]
69 30 Per Amundsen
[[on SERVERMODE]]
70 29 Per Amundsen
[[on SIGNAL]]
71
[[on SNOTICE]]
72 1 Per Amundsen
[[on SOCKCLOSE]]
73
[[on SOCKLISTEN]]
74
[[on SOCKOPEN]]
75 29 Per Amundsen
[[on SOCKREAD]]
76 37 Per Amundsen
*[[on SONG]]*
77 29 Per Amundsen
[[on START]]
78 37 Per Amundsen
*[[on SUSPEND]]*
79 49 Per Amundsen
[[on TABCOMP]]
80
 |^.  [[on TEXT]]
81 29 Per Amundsen
[[on TOPIC]]
82 1 Per Amundsen
[[on UNBAN]]
83 29 Per Amundsen
[[on UNLOAD]]
84
[[on UNNOTIFY]]
85 30 Per Amundsen
[[on UNOTIFY]]
86 29 Per Amundsen
[[on USERMODE]]
87 1 Per Amundsen
[[on VOICE]]
88
[[on WALLOPS]]
89
 |
90 32 Per Amundsen
91 2 Per Amundsen
<pre>
92 1 Per Amundsen
ctcp <level>:<matchtext>:<*|#|?>:<commands>
93
94 54 Per Amundsen
on <level>:SOCKOPEN:name:<commands>
95 1 Per Amundsen
96 54 Per Amundsen
on <level>:SOCKREAD:name:<commands>
97 1 Per Amundsen
98 54 Per Amundsen
on <level>:SOCKLISTEN:name:<commands>
99 1 Per Amundsen
100 54 Per Amundsen
on <level>:SOCKCLOSE:name:<commands>
101 1 Per Amundsen
102 54 Per Amundsen
on <level>:SIGNAL:name:<commands>
103 1 Per Amundsen
104
on <level>:CTCPREPLY:<matchtext>:<commands>
105
106
on <level>:ACTIVE:<*#?=!@>:<commands>
107
108
on <level>:HOTLINK:<matchtext>:<*#?=!@>:<commands>
109
110
on <level>:INVITE:<#[,#]>:<commands>
111
112
on <level>:TABCOMP:<*#?=!@>:<commands>
113
114
on <level>:WALLOPS:<matchtext>:<commands>
115
116
on <level>:ERROR:<matchtext>:<commands>
117
118
on <level>:RAWMODE:#:<commands>
119
120
on <level>:DEHELP:<#[,#]>:<commands>
121
122
on <level>:HELP:<#[,#]>:<commands>
123
124
on <level>:DEVOICE:<#[,#]>:<commands>
125
126
on <level>:VOICE:<#[,#]>:<commands>
127
128
on <level>:DEOP:<#[,#]>:<commands>
129
130
on <level>:OP:<#[,#]>:<commands>
131
132
on <level>:INPUT:<*#?=!@>:<commands>
133
134
on <level>:UNBAN:<#[,#]>:<commands>
135
136
on <level>:BAN:<#[,#]>:<commands>
137
138
on <level>:CHAT:<matchtext>:<commands>
139
140
on <level>:KICK:<#[,#]>:<commands>
141
142
on <level>:NOTIFY:<commands>
143
144
on <level>:UNNOTIFY:<commands>
145
146
on <level>:NICK:<commands>
147
148
on <level>:QUIT:<commands>
149
150
on <level>:EXIT:<commands>
151
152
on <level>:CONNECTFAIL:<commands>
153
154
on <level>:CONNECT:<commands>
155
156
on <level>:DISCONNECT:<commands>
157
158
on <level>:TOPIC:<#[,#]>:<commands>
159
160
on <level>:USERMODE:<commands>
161
162
on <level>:MODE:<#[,#]>:<commands>
163
164
on <level>:PART:<#[,#]>:<commands>
165
166
on <level>:JOIN:<#[,#]>:<commands>
167
168
on <level>:SNOTICE:<matchtext>:<commands>
169
170
on <level>:NOTICE:<matchtext>:<*><?><#[,#]>:<commands>
171
172
on <level>:ACTION:<matchtext>:<*><?><#[,#]>:<commands>
173
174
on <level>:TEXT:<matchtext>:<*><?><#[,#]>:<commands>
175 3 Per Amundsen
176 16 Per Amundsen
on <level>:MP3END:<commands>
177
178 19 Per Amundsen
on <level>:PARSELINE:<in|out|*>:matchtext:<commands>
179
180 25 Per Amundsen
on <level>:FILESENT:<filename[,filename]>:<commands>
181
182
on <level>:FILERCVD:<filename[,filename]>:<commands>
183 1 Per Amundsen
184
on <level>:SENDFAIL:<filename[,filename]>:<commands>
185
186
on <level>:GETFAIL:<filename[,filename]>:<commands>
187
</pre>
188 34 Per Amundsen
189
h1. Missing events
190
191
AGENT
192
CHATOPEN
193
DCCSERVER
194
DEOWNER
195
MDIEND
196
NOSOUND
197
OWNER
198
WAVEEND
199
VCMD
200
PLAYEND
201
SERV
202
SERVCLOSE
203
SERVEROP
204
SERVOPEN
205
SOCKWRITE
206
UPDREAD
207
UPDWRITE