What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Help] Need help with list of files in array...

[Help] Need help with list of files in array...
Author: Message:
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: [Help] Need help with list of files in array...
this is the method i use , just make it into one string and use this function


code:
/*
* ---------------------------
* Void sendPartedMessage (chatWnd wnd, String str, Int length)
* splits a string into parts (decided by length) and sends them
* by -dt-
* ----------------------------
*/
function sendPartedMessage(wnd, str,length){
    if(str.length > length){
        var part;
        while(str.length >= length){
            part = str.substr(0,length);
            str = str.substr(part.length);
            wnd.SendMessage(part);
        }
        wnd.SendMessage(str);
    }else{
        wnd.SendMessage(str);
    }
}

[Image: dt2.0v2.png]      Happy Birthday, WDZ
06-26-2006 07:30 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Help] Need help with list of files in array... - by b0rna on 06-26-2006 at 07:04 AM
RE: Need help with list of files in array... - by can16358p on 06-26-2006 at 07:15 AM
RE: [Help] Need help with list of files in array... - by -dt- on 06-26-2006 at 07:30 AM
RE: [Help] Need help with list of files in array... - by b0rna on 06-26-2006 at 07:44 AM
RE: [Help] Need help with list of files in array... - by mathieumg on 06-26-2006 at 11:46 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