Project

General

Profile

Scripting Events » History » Version 3

Per Amundsen, 02/07/2014 10:41 AM

1 1 Per Amundsen
h1. Scripting Events
2
3 2 Per Amundsen
<pre>
4 1 Per Amundsen
raw <numeric>:<matchtext>:<commands>
5
6
ctcp <level>:<matchtext>:<*|#|?>:<commands>
7
8
on 1:sockopen:name:commands
9
10
on 1:sockread:name:commands
11
12
on 1:socklisten:name:commands
13
14
on 1:sockclose:name:commands
15
16
on *:SIGNAL:name:command
17
18
on <level>:LOGON:*:<commands>
19
20
on <level>:DNS:<commands>
21
22
on <level>:CTCPREPLY:<matchtext>:<commands>
23
24
on <level>:OPEN|CLOSE:<?|@|=|!|*>:<matchtext>:<commands>
25
26
on <level>:ACTIVE:<*#?=!@>:<commands>
27
28
on <level>:HOTLINK:<matchtext>:<*#?=!@>:<commands>
29
30
on <level>:INVITE:<#[,#]>:<commands>
31
32
on <level>:TABCOMP:<*#?=!@>:<commands>
33
34
on <level>:WALLOPS:<matchtext>:<commands>
35
36
on <level>:ERROR:<matchtext>:<commands>
37
38
on <level>:RAWMODE:#:<commands>
39
40
on <level>:DEHELP:<#[,#]>:<commands>
41
42
on <level>:HELP:<#[,#]>:<commands>
43
44
on <level>:DEVOICE:<#[,#]>:<commands>
45
46
on <level>:VOICE:<#[,#]>:<commands>
47
48
on <level>:DEOP:<#[,#]>:<commands>
49
50
on <level>:OP:<#[,#]>:<commands>
51
52
on <level>:INPUT:<*#?=!@>:<commands>
53
54
on <level>:UNBAN:<#[,#]>:<commands>
55
56
on <level>:BAN:<#[,#]>:<commands>
57
58
on <level>:CHAT:<matchtext>:<commands>
59
60
on <level>:KICK:<#[,#]>:<commands>
61
62
on <level>:NOTIFY:<commands>
63
64
on <level>:UNNOTIFY:<commands>
65
66
on <level>:NICK:<commands>
67
68
on <level>:QUIT:<commands>
69
70
on <level>:LOAD:<commands>
71
72
on <level>:UNLOAD:<commands>'
73
74
on <level>:START:<commands>
75
76
on <level>:EXIT:<commands>
77
78
on <level>:DNS:<commands>
79
80
on <level>:CONNECTFAIL:<commands>
81
82
on <level>:CONNECT:<commands>
83
84
on <level>:DISCONNECT:<commands>
85
86
on <level>:TOPIC:<#[,#]>:<commands>
87
88
on <level>:USERMODE:<commands>
89
90
on <level>:MODE:<#[,#]>:<commands>
91
92
on <level>:PART:<#[,#]>:<commands>
93
94
on <level>:JOIN:<#[,#]>:<commands>
95
96
on <level>:SNOTICE:<matchtext>:<commands>
97
98
on <level>:NOTICE:<matchtext>:<*><?><#[,#]>:<commands>
99
100
on <level>:ACTION:<matchtext>:<*><?><#[,#]>:<commands>
101
102
on <level>:TEXT:<matchtext>:<*><?><#[,#]>:<commands>
103
104
This event is added as a replacement for OnSongChanged
105
on <level>:SONG:<commands>
106 2 Per Amundsen
</pre>
107 3 Per Amundsen
108
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.
109
110
User access will come later.