Bump :
here's the script I made you. It works pretty simply, it reads quotes out of a text file, and then displays one randomly in your personal message every time you start Windows Live Messenger.
You can change the fileLocation to the path you desire, just remember to change the \ for a double. (\\)
Depending on the number of quotes you have, you also have to change the numberOfQuotes number, and put the number of lines you have (should be easy since you kept it in an array, therefore you know how many rows you have..).
I hope it helps, here's the code :
code:
function OnEvent_Initialize(MessengerStart)
{
numberOfQuotes = 18 ;
fileLocation = "C:\\quotes.txt" ;
fileStream = new ActiveXObject("Scripting.FileSystemObject");
f = fileStream.OpenTextFile( fileLocation, 1, true) ;
randomNumber = Math.random( ) * numberOfQuotes ;
for ( var i = 0 ; i < randomNumber ; i ++ )
quoteSelected = f.ReadLine( ) ;
Messenger.MyPersonalMessage = quoteSelected ;
}
function OnEvent_Uninitialize(MessengerExit)
{
}
Report any problems.