Shoutbox

[Request] Control PSM/Nick - 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: [Request] Control PSM/Nick (/showthread.php?tid=70416)

[Request] Control PSM/Nick by Eddie on 01-07-2007 at 10:44 AM

Ok i dont know if this will make much sense but here goes :)

Would someone be able to make a script, so that someone can type a command (ie. /contpsm or /contnick <message>) and the message will appear in my personal message or nickname. If this is possible would you be able to make it so i can "ban" certain email addresses from being able to do this. I know its a fairly big request but i think it would be cool (Y) thanks if its possible, if not, oh well :)


RE: [Request] Control PSM/Nick by markee on 01-07-2007 at 10:46 AM

The only way to do this is for your contact to have a script installed that allows others to change their name/psm.  There is no way for anyone to change someone else's information.


RE: [Request] Control PSM/Nick by the andyman on 01-07-2007 at 12:29 PM

Using http://www.msgpluslive.net/scripts/view/53-Personal-Message-Chat/ your contacts should be able to control your PM by sending you a command and their message.


RE: [Request] Control PSM/Nick by Eddie on 01-07-2007 at 01:25 PM

quote:
Originally posted by markee
The only way to do this is for your contact to have a script installed that allows others to change their name/psm.  There is no way for anyone to change someone else's information.
you misunderstood what i meant obviously, they type something like !contnick then and the script on my side will notice that like the one andyman gave, but i want that tweaked to suit as i said in the first post.
quote:
Originally posted by the andyman
Using http://www.msgpluslive.net/scripts/view/53-Personal-Message-Chat/ your contacts should be able to control your PM by sending you a command and their message.
(Read ^^^^)

RE: [Request] Control PSM/Nick by MrT on 01-07-2007 at 09:10 PM

code:
function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message,MessageKind) {

nickmail(Origin);
Debug.trace(Origin);
if (nicktomail == "yourcontact@hotmail.com") {

kontrol = Message.split("+");

if(kontrol[0] == '!nick') {     
if (kontrol[1] == null){
ChatWnd.SendMessage(Messenger.MyName);
}
else {
Messenger.MyName = kontrol[1];
}
}

if(kontrol[0] == '!psm') {   
if (kontrol[1] == null){
ChatWnd.SendMessage(Messenger.MyPersonalMessage);
}
else {
Messenger.MyPersonalMessage = kontrol[1];
}
}

}
   
}


function nickmail(nicki) {
    for(var e = new Enumerator(Messenger.MyContacts); !e.atEnd(); e.moveNext()) {
        var contactlar = e.item();
            if (contactlar.Status > 2) {
                  if (MsgPlus.RemoveFormatCodes(contactlar.Name) == nicki) {
                 nicktomail = contactlar.Email;
                 }
            }
    }
}




!nick+your new nick => contact can change your nick
!nick => script sends you current nick

!psm+your new psm => contact can change your psm
!psm => script sends you current psm



( Sorry for my english (A) )
RE: [Request] Control PSM/Nick by Eddie on 01-08-2007 at 02:24 AM

Thanks MrT but that didn't work for me :(


RE: [Request] Control PSM/Nick by MrT on 01-08-2007 at 09:08 PM

what is wrong? :(
i'm using this code and it works


RE: [Request] Control PSM/Nick by Spunky on 01-09-2007 at 03:56 PM

You want something similar to my ChangeMe! script... Just rather than DP, you want the PSM and Nick...

I would do it for you, but got no hard drive... Someone can feel free to edit it as they see fit


RE: [Request] Control PSM/Nick by Eddie on 01-09-2007 at 04:06 PM

quote:
Originally posted by SpunkyLoveMuff
You want something similar to my ChangeMe! script... Just rather than DP, you want the PSM and Nick...

I would do it for you, but got no hard drive... Someone can feel free to edit it as they see fit
Thanks SLM :)