Shoutbox

[Request] Change name on signin - 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] Change name on signin (/showthread.php?tid=68524)

[Request] Change name on signin by Jimbo on 11-16-2006 at 03:48 PM

Can someone make a script that changes a certain user's name on signin and then prevents them from changing it.
Thanks(hopefully :p:lol:)


RE: [Request] Change name on signin by Sunshine on 11-16-2006 at 03:59 PM

No, it might be able to change name but it can't prevent the user from changing it.


RE: RE: [Request] Change name on signin by alexp2_ad on 11-16-2006 at 04:00 PM

quote:
Originally posted by Sunshine
No, it might be able to change name but it can't prevent the user from changing it.

It can, just gotta look for the changed name event and change it back to what it was.
RE: [Request] Change name on signin by Sunshine on 11-16-2006 at 04:06 PM

Please don't abuse the scripting engine for lame stuff like that.


RE: [Request] Change name on signin by alexp2_ad on 11-16-2006 at 04:11 PM

Ach, it's not that bad really is it.  It's not a flooder, it doesn't send viruses.  It has many legitimate uses, like making people have a certain name when using your computer.

code:
forceuser = 'email@email.com';
forcename = 'I'm using Alex's computer because I suck';

function OnEvent_Initialize(MessengerStart)
{
    if(Messenger.MyEmail == forceuser){
        Messenger.MyName = forcename;
    }
}

function OnEvent_SigninReady(sEmail){
    if(sEmail == forceuser){
        Messenger.MyName = forcename;
    }
}

function OnEvent_MyNameChange(sNewName){
    if(Messenger.MyEmail == forceuser && sNewName != forcename){
        Messenger.MyName = forcename;
    }
}


RE: [Request] Change name on signin by Jimbo on 11-16-2006 at 05:59 PM

Thanks alex, your good