Project

General

Profile

On JOIN » 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>: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
<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 *: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>