What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Need some serious scripting help!

Need some serious scripting help!
Author: Message:
sljaxon
Junior Member
**

Avatar
I want more, I want Messenger Plus.

Posts: 50
– / Male / –
Joined: Nov 2006
O.P. Need some serious scripting help!
Hello, I haven't been around in a while :D

I have been scripting, almost everything for my script should work as I see, but it does not. The bug appears to be in this stretch of code:

code:
function ExtendPSM(psm)
{
    spsm = psm;
    if(psm.Length >= 129)
    {
        Messenger.MyPersonalMessage = psm.Substring(0,129);
        MsgPlus.AddTimer('first',100);
    }
    else
    {
        Messenger.MyPersonalMessage = psm;
    }
}

function OnEvent_Timer(TimerId)
{
    if(TimerId=='first')
    {
        FurtherPSM(129);
        MsgPlus.AddTimer('second',100);
    }

    if(TimerId=='second')
    {
        FurtherPSM(258);
        MsgPlus.AddTimer('third',100);
    }

    if(TimerId=='third')
    {
        FurtherPSM(387);
        MsgPlus.AddTimer('fourth',100);
    }
    if(TimerId=='fourth')
    {
        FurtherPSM(515);
    }
   
}

function FurtherPSM(charFrom)
{
    Messenger.MyPersonalMessage = spsm.Substring(charFrom,charFrom+129);
}

Does anybody see a bug there?
This is for the contest, so a prompt reply would be appreciated.
Sam
One hoopy frood :D

[Image: theextraordinarymedleypyx9.png]
12-17-2006 03:29 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Need some serious scripting help! - by sljaxon on 12-17-2006 at 03:29 PM
RE: Need some serious scripting help! - by J-Thread on 12-17-2006 at 03:32 PM


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