What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Auto Refresh? twitter

Auto Refresh? twitter
Author: Message:
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: Auto Refresh? twitter
Welcome to the forum :wave:

At a quick glance, the only obvious problem I can see is with the way you assign "onreadystatechange".
code:
request.onreadystatechange = processReadyStateChange();

There is a difference between "processReadyStateChange", which is a pointer to the function so it can be used for callbacks etc, and "processReadyStateChange()" (note the parentheses) which actually calls the function and grabs whatever value it returns.

So simply change it to:
code:
request.onreadystatechange = processReadyStateChange;

and all should be well :)


Edit: additional note, updating every 5 seconds won't always work as the Messenger protocol has limits on how many times you can update your personal message/name. I think it is set at 6 times per minute, somebody correct me if I'm wrong :P

This post was edited on 06-20-2008 at 12:40 AM by Eljay.
06-20-2008 12:37 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Auto Refresh? twitter - by Lamonte on 06-20-2008 at 12:25 AM
RE: Auto Refresh? twitter - by Eljay on 06-20-2008 at 12:37 AM
RE: Auto Refresh? twitter - by Lamonte on 06-20-2008 at 12:41 AM
RE: Auto Refresh? twitter - by Eljay on 06-20-2008 at 01:06 AM
RE: Auto Refresh? twitter - by Lamonte on 06-20-2008 at 01:11 AM
RE: Auto Refresh? twitter - by Lamonte on 06-20-2008 at 11:18 PM
RE: Auto Refresh? twitter - by Matti on 06-21-2008 at 06:55 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On