Project

General

Profile

Scripting Events » History » Version 61

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