Actions
On SOCKOPEN » History » Revision 2
« Previous |
Revision 2/5
(diff)
| Next »
Per Amundsen, 11/18/2015 03:39 PM
Added in 1.9.0
on <level>:SOCKOPEN:<name>:<commands>
Triggers when a /sockopen command is successful and a connection has been made.
See also on SOCKCLOSE, on SOCKLISTEN, on SOCKREAD, on SOCKWRITE, /sockopen, $sock, $sockname.
Parameters
<level> - The level for the event to trigger.
<name> - $sockname to listen to.
<commands> - The commands to be performed when the event listener's criteria is met.
; Open a connection to AdiIRC.com, port 80. /sockopen adiirc adiirc.com 80 on *:SOCKOPEN:adiirc:echo -ag Connection to AdiIRC successful | sockclose adiirc
Updated by Per Amundsen about 9 years ago · 2 revisions