I'm tring to create a script that displays the current track that's playing in WinAmp as a personal message. This is my first attempt at a Live Messenger script, so I apologise if the coding is poor:
code:
function OnEvent_Initialize(MessengerStart)
{
    Debug.Trace("Hello World!");
    AddTimer(bla, 10000);
}
function OnEvent_Uninitialize(MessengerExit)
{
}
function OnEvent_Timer(bla)
{
    var path = "C:\\Program Files\\Winamp\\Plugins\\AudioScrobbler.log.txt";
    var tune = "";
    if(bla == 10000)
    {
        tune = path.text;
        MyPersonalMessage = tune;
    }
    AddTimer(bla, 10000);
}
I only put 'path.text' in there because I was guessing how to retrieve text from the log file. If this is the completely wrong way to solve the problem then please say.