I tried to script the event myself with on sockwrite and $sock().starttls which does switch to reporting $true after the handshake is made but the problem is that since no data is sent from the scripter, on sockwrite doesn't trigger. And the handshake can in fact take up to 1500ms so relying on a timer is really not advised to.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel