From WikiChip
Difference between revisions of "mirc/identifiers/$sockerr"
< mirc‎ | identifiers

Line 4: Line 4:
  
 
== Synopsis ==
 
== Synopsis ==
 +
$sockerr
  
$sockerr
+
== test ==

Revision as of 01:45, 25 April 2023

$sockerr returns the sock error number if an error occurred.

$sockerr is not a local identifier only set inside event, it is set after any /sock* command as well, meaning that $sockerr can change in value inside the same on sockread event.

Synopsis

$sockerr

test