How do services such as ydetector.com make the difference between invisible users and off-line users?
How do Yahoo! Messenger status detectors work?
1.6k Views Asked by Tom At
        	2
        	
        There are 2 best solutions below
0
                
                        
                            
                        
                        
                            On
                            
                                                    
                    
                they're all little hacks in messenger bugs, they compare different things to find a difference between invisble and offline users.
the best way is the way the code relima posted works but here's another one, write a script to check: http://opi.yahoo.com/online?u=[username]
then read the image, the image for offline and invisable are the same but they are not identical if you read them in code. 
I found this VB script online that might help you understand how such checking is done: