Project

General

Profile

Scripting Events » History » Version 68

Per Amundsen, 11/17/2015 12:00 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 63 Per Amundsen
[[on DIALOG]]
36
 |^. [[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 63 Per Amundsen
[[on KICK]]
51
  |^. [[on LOAD]]
52 29 Per Amundsen
[[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 63 Per Amundsen
[[on QUIT]]
66
 |^.  [[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>:RAWMODE:#:<commands>
111
112
on <level>:INPUT:<*#?=!@>:<commands>
113
114
on <level>:UNBAN:<#[,#]>:<commands>
115
116
on <level>:BAN:<#[,#]>:<commands>
117
118
on <level>:CHAT:<matchtext>:<commands>
119
120
on <level>:NOTIFY:<commands>
121
122
on <level>:UNNOTIFY:<commands>
123
124
on <level>:QUIT:<commands>
125
126
on <level>:EXIT:<commands>
127
128
on <level>:CONNECTFAIL:<commands>
129
130
on <level>:CONNECT:<commands>
131
132
on <level>:DISCONNECT:<commands>
133
134
on <level>:TOPIC:<#[,#]>:<commands>
135
136
on <level>:USERMODE:<commands>
137
138
on <level>:MODE:<#[,#]>:<commands>
139
140 16 Per Amundsen
on <level>:MP3END:<commands>
141
142 19 Per Amundsen
on <level>:PARSELINE:<in|out|*>:matchtext:<commands>
143 1 Per Amundsen
</pre>
144 34 Per Amundsen
145
h1. Missing events
146
147
AGENT
148
CHATOPEN
149
DCCSERVER
150
DEOWNER
151
MDIEND
152
NOSOUND
153
OWNER
154
WAVEEND
155
VCMD
156
PLAYEND
157
SERV
158
SERVCLOSE
159
SERVEROP
160
SERVOPEN
161
SOCKWRITE
162
UPDREAD
163
UPDWRITE