Scripting Events » History » Version 117
Per Amundsen, 02/12/2023 06:15 PM
1 | 109 | Mr. BS | {{css |
---|---|---|---|
2 | body { |
||
3 | counter-reset: count; |
||
4 | } |
||
5 | .tcount { |
||
6 | counter-reset: adi; |
||
7 | } |
||
8 | .tcount a { |
||
9 | counter-increment: count; |
||
10 | } |
||
11 | .tcount strong { |
||
12 | counter-increment: adi; |
||
13 | } |
||
14 | .acounter::before { |
||
15 | content: "Total: " counter(count) " events, " counter(adi) " are AdiIRC exclusive. "; |
||
16 | } |
||
17 | }} |
||
18 | |||
19 | 17 | Per Amundsen | {{>toc}} |
20 | |||
21 | 33 | Per Amundsen | h1. Scripting Event Options |
22 | 1 | Per Amundsen | |
23 | 8 | Per Amundsen | Supported <level> prefixes: |
24 | |||
25 | 11 | Per Amundsen | & - Ignore the event if another event has already halted the text. |
26 | 108 | Per Amundsen | ^ - Enable halt events. (hide default text output from the event) |
27 | ! - Ignore events made by you. |
||
28 | @ - Only trigger if you have channel op. |
||
29 | 113 | Per Amundsen | $ - Indicate the [[Scripting_Wildcards|wildcard]] text is a [[Scripting_Regex|regular expression]]. |
30 | 8 | Per Amundsen | me: - Ignore events not made by you. |
31 | 18 | Per Amundsen | [+]<level> - Level to match. |
32 | 1 | Per Amundsen | |
33 | 33 | Per Amundsen | h1. Scripting Events |
34 | 15 | Per Amundsen | |
35 | 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. |
36 | |||
37 | 37 | Per Amundsen | Events in bold are AdiIRC only. |
38 | |||
39 | 109 | Mr. BS | table(tcount). |
40 | 28 | Per Amundsen | |^. [[on RAW]] |
41 | [[on CTCP]] |
||
42 | 91 | Per Amundsen | *[[on ADMIN]]* |
43 | 29 | Per Amundsen | [[on ACTION]] |
44 | [[on ACTIVE]] |
||
45 | 112 | Per Amundsen | [[on APPACTIVE]] |
46 | 29 | Per Amundsen | [[on BAN]] |
47 | 116 | Per Amundsen | [[on CHAR]] |
48 | 1 | Per Amundsen | [[on CHAT]] |
49 | 117 | Per Amundsen | *[[on CHGHOST]] |
50 | 37 | Per Amundsen | *[[on CLIENTTEXT]]* |
51 | 30 | Per Amundsen | [[on CLOSE]] |
52 | 29 | Per Amundsen | [[on CONNECT]] |
53 | [[on CONNECTFAIL]] |
||
54 | [[on CTCPREPLY]] |
||
55 | 92 | Per Amundsen | *[[on DEADMIN]]* |
56 | 29 | Per Amundsen | [[on DEHELP]] |
57 | 1 | Per Amundsen | [[on DEOP]] |
58 | 117 | Per Amundsen | |^. [[on DEOWNER]] |
59 | [[on DEVOICE]] |
||
60 | 116 | Per Amundsen | [[on DIALOG]] |
61 | 90 | Per Amundsen | [[on DISCONNECT]] |
62 | 96 | Per Amundsen | *[[on DOWNLOAD]]* |
63 | 1 | Per Amundsen | [[on DNS]] |
64 | 30 | Per Amundsen | [[on ERROR]] |
65 | 29 | Per Amundsen | [[on EXIT]] |
66 | [[on FILERCVD]] |
||
67 | [[on FILESENT]] |
||
68 | [[on GETFAIL]] |
||
69 | [[on HELP]] |
||
70 | [[on HOTLINK]] |
||
71 | 1 | Per Amundsen | [[on INPUT]] |
72 | [[on INVITE]] |
||
73 | [[on JOIN]] |
||
74 | [[on KEYDOWN]] |
||
75 | 110 | Per Amundsen | [[on KEYUP]] |
76 | 117 | Per Amundsen | |^. [[on KICK]] |
77 | [[on LOAD]] |
||
78 | 116 | Per Amundsen | [[on LOGON]] |
79 | 97 | Per Amundsen | [[on MIDIEND]] |
80 | 1 | Per Amundsen | [[on MODE]] |
81 | 29 | Per Amundsen | [[on MP3END]] |
82 | 101 | Per Amundsen | *[[on MSCROLL]]* |
83 | 30 | Per Amundsen | [[on NICK]] |
84 | 1 | Per Amundsen | [[on NOTICE]] |
85 | [[on NOTIFY]] |
||
86 | [[on OP]] |
||
87 | [[on OPEN]] |
||
88 | *[[on OPTIONS]]* |
||
89 | [[on OWNER]] |
||
90 | [[on PARSELINE]] |
||
91 | [[on PART]] |
||
92 | [[on PING]] |
||
93 | 114 | Per Amundsen | [[on PLAYEND]] |
94 | 117 | Per Amundsen | |^. [[on PONG]] |
95 | [[on QUIT]] |
||
96 | 116 | Per Amundsen | [[on RAWMODE]] |
97 | 114 | Per Amundsen | *[[on RESUME]]* |
98 | 1 | Per Amundsen | [[on SENDFAIL]] |
99 | [[on SERVERMODE]] |
||
100 | 107 | Per Amundsen | [[on SERVEROP]] |
101 | 1 | Per Amundsen | [[on SIGNAL]] |
102 | [[on SNOTICE]] |
||
103 | [[on SOCKCLOSE]] |
||
104 | [[on SOCKLISTEN]] |
||
105 | [[on SOCKOPEN]] |
||
106 | [[on SOCKREAD]] |
||
107 | [[on SOCKWRITE]] |
||
108 | 110 | Per Amundsen | *[[on SONG]]* |
109 | 1 | Per Amundsen | [[on SONGEND]] |
110 | 101 | Per Amundsen | [[on START]] |
111 | 1 | Per Amundsen | *[[on SUSPEND]]* |
112 | 117 | Per Amundsen | |^. [[on TABCOMP]] |
113 | [[on TEXT]] |
||
114 | 116 | Per Amundsen | [[on TOPIC]] |
115 | 114 | Per Amundsen | [[on UDPREAD]] |
116 | 1 | Per Amundsen | [[on UNBAN]] |
117 | 95 | Per Amundsen | [[on UNLOAD]] |
118 | 30 | Per Amundsen | [[on UNOTIFY]] |
119 | 110 | Per Amundsen | *[[on UNZIP]]* |
120 | 1 | Per Amundsen | [[on USERMODE]] |
121 | [[on VOICE]] |
||
122 | [[on WALLOPS]] |
||
123 | [[on WAVEEND]] |
||
124 | 110 | Per Amundsen | *[[on ZIP]]* |
125 | 34 | Per Amundsen | | |
126 | 109 | Mr. BS | |
127 | %(acounter) % |
||
128 | 34 | Per Amundsen | |
129 | 106 | Per Amundsen | _See also [[$event]], *[[$eventtarget]]*, [[$matchkey]], [[$halted]], [[$stripped]], [[$ulevel]], [[$clevel]]._ |
130 | 102 | Mr. BS | |
131 | 34 | Per Amundsen | h1. Missing events |
132 | |||
133 | AGENT |
||
134 | CHATOPEN |
||
135 | DCCSERVER |
||
136 | NOSOUND |
||
137 | VCMD |
||
138 | SERV |
||
139 | SERVCLOSE |
||
140 | 1 | Per Amundsen | SERVOPEN |