From WikiChip
$sockerr Identifier - mIRC
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$sockerr return the socker error number if an error occured.
For example, in the on sockopen event, if the connection is not established, $sockerr is set
Synopsis
$sockerr
Paramters
None
Properties
None
Example
on *:sockread:name:{ if ($sockerr) return ... }
Compatibility
Added: mIRC v5.3
Added on: 13 Dec 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.