Hi Err0r, sorry, but I thinked that somebody else will answer before me....
I made a script, because I don't want to modify another script :
Go to the MP!L options, "General">"Scripts">"New". Remove everything in the new window, and copy-paste this code. (I think my script works fine....)
code:
function OnEvent_Initialize(MessengerStart) {
shell=new ActiveXObject("WScript.Shell");
if (MessengerStart==false) {
regPath=MsgPlus.ScriptRegPath+Messenger.MyUserId+'\\';
Initialize();
}
}
function OnEvent_Signin(Email) {
regPath=MsgPlus.ScriptRegPath+Messenger.MyUserId+'\\';
Initialize();
}
function OnEvent_Signout(Email) {
MsgPlus.CancelTimer("Timer");
}
function OnEvent_Timer(TimerId) {
seconds+=10
shell.RegWrite(regPath+"Seconds",seconds);
yr=parseInt(seconds/31536000);
mon=parseInt((seconds-(yr*31536000))/2592000);
day=parseInt((seconds-(yr*31536000)-(mon*2592000))/86400);
hr=parseInt((seconds-(yr*31536000)-(mon*2592000)-(day*86400))/3600);
min=parseInt((seconds-(yr*31536000)-(mon*2592000)-(day*86400)-(hr*3600))/60);
secs=parseInt((seconds-(yr*31536000)-(mon*2592000)-(day*86400)-(hr*3600)-(min*60)));
if (secs>0) {SECONDS=secs+" secondes ";}
else {SECONDS="";}
if (min>0) {MINS=min+" minutes ";
if (secs!=0) {
MINS+="et "
}
}
else {MINS="";}
if (hr>0) {HRS=hr+" heures ";}
else {HRS="";}
if (day>0) {DAYS=day+" jours ";}
else {DAYS="";}
if (mon>0) {MONTH=mon+" mois ";}
else {MONTH="";}
if (yr>0) {YEAR=yr+" an ";}
else {YEAR="";}
MsgPlus.AddTimer("Timer",10000);
Messenger.MyPersonalMessage="Cela fait "+YEAR+MONTH+DAYS+HRS+MINS+SECONDS+"que je suis en ligne depuis le 24 Août 2006"; // Here you can modify your message
}
function Initialize() {
try {seconds = parseInt(shell.RegRead(regPath+"Seconds"));} catch(err) {seconds=0;}
MsgPlus.AddTimer("Timer",10000);
}