Welcome Guest ( Log In | Register )


KAOZ Posted on: Feb 9 2007, 12:21 PM


Newbie
*

Group: Members
Posts: 1
Joined: 9-February 07
Member No.: 240


First of all,

set AMIP to write to a file, like this:


IPB Image


Next,

Go to your MSN,

Plus! -> Preferences

Click "Scripts" on the left.

Click on "Create New"

Name it "amip" or something,

then in the next window

paste this:


CODE
function OnEvent_Initialize(MessengerStart)
{


}

function OnEvent_Uninitialize(MessengerExit)
{
}

function OnEvent_ChatWndSendMessage(ChatWnd, sMessage)
{
    
   var fso, ts, s, s1, f1, txt;
   var ForReading = 1;
   fso = new ActiveXObject("Scripting.FileSystemObject");
   ts = fso.OpenTextFile("C:\\WinAmp\\winamp.txt",ForReading);
   s = ts.ReadAll();
   ts.Close();
  
   return sMessage.replace("/np", s);



}



Click Save All, then click Close.


Close the preferences window and go test it.

type "/np" in some window and it should replace /np with song.

Hope I helped smile.gif
  Forum: Support · Post Preview: #829 · Replies: 0 · Views: 5,338


New Posts  New Replies
No New Posts  No New Replies
Hot topic  Hot Topic (New)
No new  Hot Topic (No New)
Poll  Poll (New)
No new votes  Poll (No New)
Closed  Locked Topic
Moved  Moved Topic