$status

From Scriptwiki
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.