I searched for an hour for this. What is the best way to check if a char disconnects? This is for my auto-reconnect programme in AutoIt (which is going well). Currently I just check for the "Tip" window but that isn't really practical since any client's disconnection would trigger the script. My current check looks like this:
Code:
If WinExists("Tip") And WinExists($CO_HANDLE) Then
; close "Tip" window
$tip_handle = WinGetHandle("Tip")
WinActivate($tip_handle)
ControlClick($tip_handle, "", 2)
Wait(5) ; give co flash window time to load
ConnectCO()
Configure5bot()
EndIf