What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [help]emoticons & Xniff

[help]emoticons & Xniff
Author: Message:
Orgrim Doomhammer
Junior Member
**

Avatar
For The Horde!

Posts: 67
35 / Male / Flag
Joined: Aug 2006
O.P. [help]emoticons & Xniff
ok, I'm one of those guys that don't wanna become mad everytime they read a message, so I was tryin' to make a script that could lock emoticons per contact.
obviously, as I'm still a nwb @scripting, I didn't came up with nothing good,as the script I wrote seems not to see function OnEvent_ChatWndReceiveMessage.
to do this, I've modified Imitate(I'll put credits) and this is the code:

var xniff = new ActiveXObject("w00t.Xniff");
var xniff_Callback = function() {
   
    function xniff::OnData(srcip, srcport, destip, destport, data, datalen) {
        if (srcport === "1863" && datalen > 0) {
           
            var data = data.split(" ");
                   
            if (data[0] == "MSG") {
            if (data[8] == "Content-Type:" && data[9] == "text/x-mms-aniemoticon;"){
            var es=data[10];
            var esl=es.lenght;}}}}

           
function OnEvent_ChatWndReceiveMessage(Chatwnd, Message){
esp=es.toUpperCase;
Message=Message.Replace(es,esp);
return Message;}
function OnEvent_Initialize(MessengerStart){
xniff_Callback();
xniff.IP = "xxx.xxx.x.xx";
xniff.Start();
}



anyone help?

           
             
       
03-12-2007 02:10 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[help]emoticons & Xniff - by Orgrim Doomhammer on 03-12-2007 at 02:10 PM
RE: [help]emoticons & Xniff - by effection on 03-12-2007 at 06:35 PM
RE: [help]emoticons & Xniff - by Orgrim Doomhammer on 03-12-2007 at 06:36 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