What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] a script that will change your PSM from a text file for each new line

[Request] a script that will change your PSM from a text file for each new line
Author: Message:
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
RE: [Request] a script that will change your PSM from a text file for each new line
this should work:
code:
/* Create file 'psm.txt'..
add some lines of text.. */
var psm, count=0;

function OnEvent_Timer(TimerId){
if(Messenger.MyStatus > 0 && Messenger.MyEmail === "abc@zcx.com"){
if(count == psm.length) count=0;
Messenger.MyPersonalMessage = psm[count];
count++;
MsgPlus.AddTimer("changepsm", 10000);
}
}

function OnEvent_Initialize(MessengerStart){
var fso = new ActiveXObject("Scripting.FileSystemObject");
var file = fso.OpenTextFile(MsgPlus.ScriptFilesPath + "\\psm.txt", 1);
psm = file.ReadAll().split("\n");
OnEvent_Timer("changepsm");
}

function OnEvent_Uninitialize(){
file.Close();
}


This post was edited on 09-19-2008 at 12:20 PM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
09-19-2008 02:40 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Request] a script that will change your PSM from a text file for each new line - by gotest on 09-19-2008 at 02:17 AM
RE: [Request] a script that will change your PSM from a text file for each new line - by roflmao456 on 09-19-2008 at 02:40 AM
RE: [Request] a script that will change your PSM from a text file for each new line - by gotest on 09-19-2008 at 03:48 AM
RE: [Request] a script that will change your PSM from a text file for each new line - by roflmao456 on 09-19-2008 at 12:19 PM
RE: [Request] a script that will change your PSM from a text file for each new line - by gotest on 09-19-2008 at 04:02 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