The mIRC help file says:

The sockopen event is triggered when a /sockopen command is successful and a connection has been made.


If I use I use the following script:

Code:
alias sreslv {
  sockopen reslv fgzdfdfdfds342fsdfsfdsdsfdsbbvbuh.net 6667
}


on *:SOCKOPEN:reslv:{
  echo -a Connected to IRC server!
  sockclose $sockname
}


mIRC triggers the on SOCKOPEN event as if it actually connected to the bogus address specified in my sreslv alias. That's not possible, since the address and port are not valid. Why is it triggering?