Project

General

Profile

Scripting Events » History » Version 5

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