on_connect
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | on_connect [2012/07/04 06:30] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: on_connect.txt, | ||
+ | ======Synopsis: | ||
+ | [[on]] [< | ||
+ | |||
+ | ======Summary: | ||
+ | Triggered when you're successfully logged into irc. | ||
+ | |||
+ | ======Description: | ||
+ | This hook is triggered whenever the client has successfully registered with | ||
+ | an irc server. | ||
+ | [[on server_established]] hook is triggered as soon as the client establishes a | ||
+ | TCP 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 | | ||
+ | |||
+ | ======Default Action: | ||
+ | If you don't suppress this event, the client does not do anything. | ||
+ | |||
+ | ======Examples: | ||
+ | To display where the client has connected: | ||
+ | on ^connect * (ourname, port, itsname) { | ||
+ | xecho -b Connected to $ourname ($itsname) on port $port; | ||
+ | }; | ||
+ | |||
+ | ======History====== | ||
on_connect.txt · Last modified: 2012/07/04 06:30 by 127.0.0.1