Shoutbox

!imitate don't work - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: !imitate don't work (/showthread.php?tid=61942)

!imitate don't work by turix on 06-28-2006 at 08:30 PM

!imitate fonk dont work

please new version imitate send

sorry a litle english :)

i'm writting turkish

i'm up write translate turkish

arkadaslar burada Turkler oldugunu biliyorum
ya bu imitate scriptinin du<gun calisani yokmu acaba

kolay gels&#305;n


RE: !imitate don't work by Vilkku on 06-29-2006 at 05:53 AM

Please write in the correct thread of the script instead of making a new one, also, double-posting is against the rules, you should have edited the first post. There is no need to "bump" your thread, if someone knows what the problem is that person will most likely help you. Welcome to the forums ;)


RE: !imitate don't work by turix on 06-29-2006 at 10:51 AM


this code
dont work


-----------------

var boolEnabled = false;
var currentNickName;

function OnEvent_ChatWndReceiveMessage(Wnd, sOrigin, sMessage, nMessageKind){
    if (boolEnabled == true){
        if (currentNickName != sOrigin){
currentNickName = Messenger.MyName;
Messenger.MyName = sOrigin;
Wnd.SendMessage(sMessage);
//Messenger.MyName = currentNickName;
}
    }
}

function OnEvent_ChatWndSendMessage(Wnd, sMessage){
    if (sMessage == '!imitate'){
        if (boolEnabled == true){
            boolEnabled = true;
            Messenger.MyName = currentNickMame;
            return '';
        }else{
            boolEnabled = true;
            return '';
        }
    }
}