Currently, on CONNECTFAIL triggers only when a connection and all retries fail, and the only parameter passed seems to be my nickname as set up in the options. While this is useful in itself, I believe it would be far more useful if CONNECTFAIL triggered on *every* failed connection attempt, even retries. It could then pass information about the failure as parameters, such as which retries left (or retries already attempted), which server/port failed (useful if trying a group), and *why* it failed.

This would be extremely useful in automated maintainence of the servers list, scripts that try connecting to specific servers, or even something as simple as a letting a script announce to the user that the connection failed, why it failed, how many retries are left, and what action to take next..