Project

General

Profile

On PART » History » Version 5

Per Amundsen, 02/16/2017 10:29 AM

1 1 Per Amundsen
_Added in 1.8.10_
2
3
*<notextile>on <level>:PART:<#|*>:<commands></notextile>*
4
5
Triggers when a user parts a channel.
6
7 2 Per Amundsen
_See also [[on JOIN]], [[/part]]._
8 1 Per Amundsen
9 3 Per Amundsen
_Haltable using ^_
10
11 1 Per Amundsen
*Parameters*
12
13
<level> - The level for the event to trigger.
14
<#|*> - The [[Matchtarget]] to listen to.
15
<commands> - The commands to be performed when the event listener's criteria is met.
16
17
*Example*
18
19
<pre>
20
on *:PART:*:echo -ag $nick parted $chan
21 4 Per Amundsen
22
; Override the part event to print a custom text and then tell AdiIRC to ignore it's own text.
23
on ^*:PART:*:{
24 5 Per Amundsen
  echo -tcbf part $chan * $nick ( $+ $fulladdress $+ ) parts $chan
25 4 Per Amundsen
  halt
26
}
27 1 Per Amundsen
</pre>