Is it possible to make a script like the !imitate function in messenger discovery? Because i hate the messenger discovery program and i think that the !imitate function is the only good thing about it so anyone think this is possible?
code: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 '';
}
}
}
quote:Originally posted by Themuzz
f you type !imitate in the convo then the script will imitate it self.. So it doesn't imitate the thing the person said as last.
Edit thanks, I typed that in 2 mins I corrected it, forgot to add return '';
This post was edited on 06-25-2006 at 07:26 PM by matty.
Nope it won't and it changes your nickname when it sends the message. It imitates the imitate feature (haha) which modified the header file of the sent message to use the nickname of the other user (just like chat-only names of Stuffplug) and his font.
Official MessengerPlus! Live French Translator
Official StuffPlug 3 French Translator