Project

General

Profile

On JOIN » History » Version 6

Per Amundsen, 02/24/2017 09:39 PM

1 1 Per Amundsen
_Added in 1.8.10_
2
3
*<notextile>on <level>:JOIN:<#|*>:<commands></notextile>*
4
5
Triggers when a user joins a channel.
6
7 2 Per Amundsen
_See also [[on PART]], [[/join]]._
8 1 Per Amundsen
9 3 Per Amundsen
_Haltable using ^_
10
11 1 Per Amundsen
*Parameters*
12
13 6 Per Amundsen
<level> - The [[User Access Level]] for the event to trigger.
14 1 Per Amundsen
<#|*> - 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 *:JOIN:*:echo -ag $nick joined $chan
21 4 Per Amundsen
22
; Override the join event to print a custom text and then tell AdiIRC to ignore it's own text.
23
on ^*:JOIN:*:{
24 5 Per Amundsen
  echo -tcbf join $chan * $nick ( $+ $fulladdress $+ ) join $chan
25 4 Per Amundsen
  halt
26
}
27 1 Per Amundsen
</pre>