Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
21
bitchx-docs/5_Programming/on/connect
Normal file
21
bitchx-docs/5_Programming/on/connect
Normal file
@@ -0,0 +1,21 @@
|
||||
Synopsis:
|
||||
on [<modes>]connect [<serial#>] [-|^]<match> { <action> }
|
||||
|
||||
Description:
|
||||
This hook is triggered whenever the client establishes a connection with
|
||||
a server.
|
||||
|
||||
Parameters:
|
||||
$0 the server connected to
|
||||
$1 the port number of the server connected to
|
||||
$2 server name as reported by the server
|
||||
|
||||
Examples:
|
||||
To display where the client has connected:
|
||||
on ^connect "*" {
|
||||
echo *** Connected to $0 ($2) on port $1
|
||||
}
|
||||
|
||||
See Also:
|
||||
server(1)
|
||||
|
||||
Reference in New Issue
Block a user