Hi,
I'm not sure exactly what you're trying to acheive... maybe writing in the 
forums is the most appropriate place 
for you to post, under the plugins' forum. 
The OnConnect specifies when you're connected, but when you're online, you 
already got all the info you need 
about the users apart from their connection status, then you receive a 
notification about each user whether he's 
online or not.You should base your code on that I suppose.

KKRT

On Sat, Dec 23, 2006 at 01:54:42AM -0800, Kemal Eroglu wrote:
> 
>    Hi all,
> 
>    I solved the above problem in the following way: First of all, I see 
> that trying to register the plugin for the contaclistLoaded event was a 
> mistake, as that event is reserved for the internals. So now I register to 
> the OnConnect event. The function connected to this event waits for 4 
> seconds and launches another command that does the real job. As mentioned 
> in my first post, this waiting time is necessary since the contactlist 
> information is not yet ready right after OnConnect. But in a way this is a 
> dirty solution since the 4 second period may fail under slow connection 
> etc.
> 
>    So I suggest that you add a piece of code which fires an event like 
> contactlistLoaded when the contactlist information is fully downloaded. 
> This way it won't be necessary to guess a waiting time.
> 
>    By the way, the plugin package (Invisibility version 0.3) is below, 
> could someone check it and update the plugins page on the aMSN website?
> 
>    http://www.math.washington.edu/~kieroglu/Invisibility-0.3.zip
> 
> 
>    Merry Christmas and happy new year,
> 
>    Ilgar
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Amsn-devel mailing list
> Amsn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amsn-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to