User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

on_server_lost [2013/01/08 15:22] (current)
Line 1: Line 1:
 +[[on]] [<​modes>​]server_lost [<​serial#>​] [-|^]<​match>​ { <​action>​ }
 +This hook is triggered whenever the client is disconnected from any server
 +for any reason.
 +This hook is thrown when the server is in the CLOSING state, but before it
 +switches to the CLOSED state. ​ Whether or not the socket to the server is
 +still up, or usable, is undefined behavior. ​ If you need defined behavior,
 +catch [[on server_status]] for the switch to CLOSING.
 +|$0 |server refnum|
 +|$1 |server name|
 +|$2- |reason for disconnect. usually the same as your [[QUIT]](1) message|
on_server_lost.txt ยท Last modified: 2013/01/08 15:22 (external edit)