Project

General

Profile

Scripting Events » History » Version 11

Per Amundsen, 06/26/2014 03:55 AM

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