What is the proper hook to get it to run on a failed connection, preferably only when type is: "Connection refused"
I'm trying to make a script that changes my proxy type to 0 if that happens. The rest is easy, I just don't know the hook.
IRC::command("/set net_proxy_type 0");
command("set net_proxy_type 0");
I managed to get that for both languages (pearl and python) so in what languages the hooks function doesn't matter. (I'd prefer python though if at all possible)