$appactive is always $true
I am using $appactive to update the titlebar when adirc is active, but I have observed it updating when I have it minimized.
Reproduce with the following:
//timer 1 5 echo -at Appactive is: $appactive
Minimize adirc and wait at least 5 seconds