Project

General

Profile

Scripting Events » History » Version 57

Per Amundsen, 11/15/2015 03:09 AM

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 54 Per Amundsen
on <level>:SOCKOPEN:name:<commands>
93 1 Per Amundsen
94 54 Per Amundsen
on <level>:SOCKREAD:name:<commands>
95 1 Per Amundsen
96 54 Per Amundsen
on <level>:SOCKLISTEN:name:<commands>
97 1 Per Amundsen
98 54 Per Amundsen
on <level>:SOCKCLOSE:name:<commands>
99 1 Per Amundsen
100 54 Per Amundsen
on <level>:SIGNAL:name:<commands>
101 1 Per Amundsen
102
on <level>:CTCPREPLY:<matchtext>:<commands>
103
104
on <level>:ACTIVE:<*#?=!@>:<commands>
105
106
on <level>:HOTLINK:<matchtext>:<*#?=!@>:<commands>
107
108
on <level>:INVITE:<#[,#]>:<commands>
109
110
on <level>:TABCOMP:<*#?=!@>:<commands>
111
112
on <level>:WALLOPS:<matchtext>:<commands>
113
114
on <level>:ERROR:<matchtext>:<commands>
115
116
on <level>:RAWMODE:#:<commands>
117
118
on <level>:DEHELP:<#[,#]>:<commands>
119
120
on <level>:HELP:<#[,#]>:<commands>
121
122
on <level>:DEVOICE:<#[,#]>:<commands>
123
124
on <level>:VOICE:<#[,#]>:<commands>
125
126
on <level>:DEOP:<#[,#]>:<commands>
127
128
on <level>:OP:<#[,#]>:<commands>
129
130
on <level>:INPUT:<*#?=!@>:<commands>
131
132
on <level>:UNBAN:<#[,#]>:<commands>
133
134
on <level>:BAN:<#[,#]>:<commands>
135
136
on <level>:CHAT:<matchtext>:<commands>
137
138
on <level>:KICK:<#[,#]>:<commands>
139
140
on <level>:NOTIFY:<commands>
141
142
on <level>:UNNOTIFY:<commands>
143
144
on <level>:NICK:<commands>
145
146
on <level>:QUIT:<commands>
147
148
on <level>:EXIT:<commands>
149
150
on <level>:CONNECTFAIL:<commands>
151
152
on <level>:CONNECT:<commands>
153
154
on <level>:DISCONNECT:<commands>
155
156
on <level>:TOPIC:<#[,#]>:<commands>
157
158
on <level>:USERMODE:<commands>
159
160
on <level>:MODE:<#[,#]>:<commands>
161
162
on <level>:PART:<#[,#]>:<commands>
163
164
on <level>:JOIN:<#[,#]>:<commands>
165
166
on <level>:SNOTICE:<matchtext>:<commands>
167
168
on <level>:NOTICE:<matchtext>:<*><?><#[,#]>:<commands>
169
170
on <level>:ACTION:<matchtext>:<*><?><#[,#]>:<commands>
171
172
on <level>:TEXT:<matchtext>:<*><?><#[,#]>:<commands>
173 3 Per Amundsen
174 16 Per Amundsen
on <level>:MP3END:<commands>
175
176 19 Per Amundsen
on <level>:PARSELINE:<in|out|*>:matchtext:<commands>
177
178 25 Per Amundsen
on <level>:FILESENT:<filename[,filename]>:<commands>
179
180
on <level>:FILERCVD:<filename[,filename]>:<commands>
181 1 Per Amundsen
182
on <level>:SENDFAIL:<filename[,filename]>:<commands>
183
184
on <level>:GETFAIL:<filename[,filename]>:<commands>
185
</pre>
186 34 Per Amundsen
187
h1. Missing events
188
189
AGENT
190
CHATOPEN
191
DCCSERVER
192
DEOWNER
193
MDIEND
194
NOSOUND
195
OWNER
196
WAVEEND
197
VCMD
198
PLAYEND
199
SERV
200
SERVCLOSE
201
SERVEROP
202
SERVOPEN
203
SOCKWRITE
204
UPDREAD
205
UPDWRITE