$status

From Scriptwiki
Revision as of 11:24, 12 April 2008 by Daveoh (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns server connection status.

$status
  • This function has no parameters.

Example

This identifier can return several values:

  • connected - if your mIRC is connected (this includes the On connect event.)
  • disconnected - if your mIRC is not connected.
  • connecting - during connection process (between Connecting to ... and Looking up hostname.)
  • disconnecting - during disconnect (between /quit and * Disconnected.)
  • closing - in an On disconnect event if the status window being closed is the cause of the disconnection.