[script] auto-nick-changer - 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: [script] auto-nick-changer (/showthread.php?tid=62002)
[script] auto-nick-changer by armor on 06-29-2006 at 10:18 AM
this function basically change your msn nick name every 10 seconds (or whatever seconds).
I have been looking for this kind of nick changer for over three years. Sporadically there were 2 to 3 tools that can auto change nickname, but these tools very soon become unworkable since they can not run with higher version of msn messenger, thus I never have the chance to realize this function on my msn messenger.
That is the reason I decide to write this script myself and i spent this whole morning studing live messenger plus' script grammar; thank god it did not take me too much time as I thought.
Just take note that this auto-nick-changer may be a lilltle annoying to your contacts, so use it selectively and wisely.
-----------------------------------------------------------------------
//* here "11000" means you nick changes every 11 seconds; because of live messenger server's anti-flood mechanism, my suggestion is that this parameter should not be shorter than 10 seconds.
MsgPlus.AddTimer('T1', 11000);
var i=0;
function OnEvent_Timer(TimeId)
{
if (TimeId == 'T1')
{
i=i+1;
if (i == 1) Messenger.MyName='armor';
if (i == 2) Messenger.MyName='Armor';
if (i == 3) Messenger.MyName='aRmor';
if (i == 4) Messenger.MyName='arMor';
if (i == 5) Messenger.MyName='armOr';
if (i == 6) Messenger.MyName='armoR';
if (i == 7) Messenger.MyName='armor';
if (i == 8) Messenger.MyName='Armor';
if (i == 9) Messenger.MyName='ARmor';
if (i == 10) Messenger.MyName='ARMor';
if (i == 11) Messenger.MyName='ARMOr';
if (i == 12) Messenger.MyName='ARMOR';
MsgPlus.AddTimer('T1', 11000);
//* here "12" means there are 12 steps within one nick changing loop; you should adjust this parameter according to your own number of steps;
if (i == 12) i=0;
}
}
RE: [script] auto-nick-changer by Felu on 06-29-2006 at 10:25 AM
theRand - Allows you to randomize your nickname or personal message from a text file already has this feature
RE: [script] auto-nick-changer by Mr. Bougo on 06-29-2006 at 11:26 AM
If you want to do your own script, a select case would be better instaed of if (i == 1) etc
EDIT: Or better, an array with all your nicks and on the timer event Messenger.MyName = nickarray[i]
RE: [script] auto-nick-changer by armor on 06-29-2006 at 03:33 PM
thanks
RE: [script] auto-nick-changer by cicklow on 07-24-2008 at 11:00 PM
code: var timerID = null;
var timerRunning = false;
var id,pause=0,position=0;
function OnEvent_Signin(Email)
{
MsgPlus.AddTimer("Time",1000);
}
function OnEvent_Timer(sTimerId)
{
if (sTimerId == "Time") {
var i,k,msg = Messenger.MyName;
k = (75/msg.length)+1;
for(i=0;i<=k;i++) msg+=" "+msg;
Messenger.MyName = msg.substring(position,position+75);
if(position++==38) position=0;
MsgPlus.AddTimer("Time",1000);
}
}
my code!! bye!
|