Project

General

Profile

Scripting Events » History » Version 7

Per Amundsen, 06/22/2014 02:13 PM

1 1 Per Amundsen
h1. Scripting Events
2
3 6 Per Amundsen
Supported prefixes so far are ^ to enable halt events (hide default text output from the event), ! to ignore events made by you, @ to only trigger if you have channel op, $ to indicate the wildcard text is a regular expression.
4
5
User access is not implemented yet.
6
7 2 Per Amundsen
<pre>
8 1 Per Amundsen
raw <numeric>:<matchtext>:<commands>
9
10
ctcp <level>:<matchtext>:<*|#|?>:<commands>
11
12 4 Per Amundsen
on <level>:SOCKOPEN:name:commands
13 1 Per Amundsen
14 4 Per Amundsen
on <level>:SOCKREAD:name:commands
15 1 Per Amundsen
16 4 Per Amundsen
on <level>:SOCKLISTEN:name:commands
17 1 Per Amundsen
18 4 Per Amundsen
on <level>:SOCKCLOSE:name:commands
19 1 Per Amundsen
20 4 Per Amundsen
on <level>:SIGNAL:name:command
21 1 Per Amundsen
22
on <level>:LOGON:*:<commands>
23
24
on <level>:DNS:<commands>
25
26
on <level>:CTCPREPLY:<matchtext>:<commands>
27
28
on <level>:OPEN|CLOSE:<?|@|=|!|*>:<matchtext>:<commands>
29
30 5 Per Amundsen
on <level>:APPACTIVE:<commands>
31
32 1 Per Amundsen
on <level>:ACTIVE:<*#?=!@>:<commands>
33
34
on <level>:HOTLINK:<matchtext>:<*#?=!@>:<commands>
35
36
on <level>:INVITE:<#[,#]>:<commands>
37
38
on <level>:TABCOMP:<*#?=!@>:<commands>
39
40
on <level>:WALLOPS:<matchtext>:<commands>
41
42
on <level>:ERROR:<matchtext>:<commands>
43
44
on <level>:RAWMODE:#:<commands>
45
46
on <level>:DEHELP:<#[,#]>:<commands>
47
48
on <level>:HELP:<#[,#]>:<commands>
49
50
on <level>:DEVOICE:<#[,#]>:<commands>
51
52
on <level>:VOICE:<#[,#]>:<commands>
53
54
on <level>:DEOP:<#[,#]>:<commands>
55
56
on <level>:OP:<#[,#]>:<commands>
57
58
on <level>:INPUT:<*#?=!@>:<commands>
59
60
on <level>:UNBAN:<#[,#]>:<commands>
61
62
on <level>:BAN:<#[,#]>:<commands>
63
64
on <level>:CHAT:<matchtext>:<commands>
65
66
on <level>:KICK:<#[,#]>:<commands>
67
68
on <level>:NOTIFY:<commands>
69
70
on <level>:UNNOTIFY:<commands>
71
72
on <level>:NICK:<commands>
73
74
on <level>:QUIT:<commands>
75
76
on <level>:LOAD:<commands>
77
78
on <level>:UNLOAD:<commands>'
79
80
on <level>:START:<commands>
81
82
on <level>:EXIT:<commands>
83
84
on <level>:DNS:<commands>
85
86
on <level>:CONNECTFAIL:<commands>
87
88
on <level>:CONNECT:<commands>
89
90
on <level>:DISCONNECT:<commands>
91
92
on <level>:TOPIC:<#[,#]>:<commands>
93
94
on <level>:USERMODE:<commands>
95
96
on <level>:MODE:<#[,#]>:<commands>
97
98
on <level>:PART:<#[,#]>:<commands>
99
100
on <level>:JOIN:<#[,#]>:<commands>
101
102
on <level>:SNOTICE:<matchtext>:<commands>
103
104
on <level>:NOTICE:<matchtext>:<*><?><#[,#]>:<commands>
105
106
on <level>:ACTION:<matchtext>:<*><?><#[,#]>:<commands>
107
108
on <level>:TEXT:<matchtext>:<*><?><#[,#]>:<commands>
109 3 Per Amundsen
110
This event is added as a replacement for OnSongChanged
111
on <level>:SONG:<commands>
112 7 Per Amundsen
113
This event is triggered whenever the config file is reloaded
114
on <level>:OPTIONS:<commands>
115 3 Per Amundsen
</pre>