Shoutbox

Need contact to the creator of MSN Online Time - 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: Need contact to the creator of MSN Online Time (/showthread.php?tid=64243)

Need contact to the creator of MSN Online Time by amazon on 07-30-2006 at 05:45 PM

I translateD the programe to

English, Español, Italiano, Deutsch, Français, Português, Català, Galego and Dutch

contact with me by PM...


RE: Need contact to the creator of MSN Online Time by Sunshine on 07-30-2006 at 05:59 PM

If you go to the script (MSN Online Time 1.1) on the script db you will find a link to his space...and onthere is an e-mail adress ;)


RE: Need contact to the creator of MSN Online Time by amazon on 07-30-2006 at 08:01 PM

i cant find the email, and the web doesnt work :/ someone can help me, or the creator contact to me:   oscarmaquedagarcia@hotmail.com


RE: Need contact to the creator of MSN Online Time by Menthix on 07-30-2006 at 09:34 PM

amazon: Sent you a PM with details :).


RE: Need contact to the creator of MSN Online Time by Chrono on 07-30-2006 at 09:36 PM

i hope you didnt use an online translator to translate them :undecided:


RE: Need contact to the creator of MSN Online Time by M73A on 07-30-2006 at 09:57 PM

quote:
Originally posted by Chrono
i hope you didnt use an online translator to translate them :undecided:

i was thinking that, its extremely rare when people know THAT many languages!
RE: Need contact to the creator of MSN Online Time by Menthix on 07-30-2006 at 10:01 PM

Online Time only has about 3 strings to translate I believe, so it isn't that hard. But remember that when you want it added to the scripts DB in the international sections I need a good description in those languages too.

Online translators are indeed not sufficient.


RE: Need contact to the creator of MSN Online Time by amazon on 07-30-2006 at 11:02 PM

quote:
Originally posted by M73A
quote:
Originally posted by Chrono
i hope you didnt use an online translator to translate them :undecided:

i was thinking that, its extremely rare when people know THAT many languages!

i used in some languages translator :/

PD: OMG!!! DHARMA!!! X__DDD
Changed the script just a 'little' bit by babar-mughal on 07-31-2006 at 10:10 PM

Hi mate!

I really liked your script, and its running now 'all' the time ... :)
anyway, one of my mate while chatting to me told me that she was getting annoyed because of the script updating it self every sec, so I changed it a bit, removed second wise display updates. i haven't asked anyone to see if its work out better now. but i am putting the edited script here,  so other people can try it and see if it works in lesser updates sent out ... :)
cheerios to everyone doing a good [or bad] job .. :p

////////////////////////////SCRIPT//////////////////////////////////


var Sec = 0;
var Min = 0;
var Hrs = 0;
var Days = 0;
var Weeks = 0;

function OnEvent_Signin(Email)
{
    RegUserPath = (MsgPlus.ScriptRegPath).replace(/GlobalSettings/, Email) + '\\';
    MsgPlus.AddTimer("Time",1000);
    var lang = readreg('lang');
    if (lang == '') {
        writereg('lang', 'English', 'str');
    }
}

function OnEvent_Timer(sTimerId)
{
    if (sTimerId == "Time") {   
       
        if (Sec == "60") {
            Sec = 0;
            Min = Min + 1;
        }
        if (Min == "60") {
            Hrs = Hrs + 1;
            Min = 0;
        }
        if (Hrs == "24") {
            Hrs = 0;
            Days = Days + 1;
        }
        if (Days == "7") {
            Days = 0;
            Weeks = Weeks + 1
        }
       
        //Language Options
        var lang = readreg('lang');
        if (lang == 'English') {
            var OnlineTime = "Online Time: " + Min + " Minutes " + Hrs + " Hours " + Days + " Days";
        }
       
        if (lang == 'Spanish') {
            var OnlineTime = "Tiempo que Tengo Conectado: " + Min + " Minutos " + Hrs + " Horas " + Days + " Dias";
        }
       
        Messenger.MyPersonalMessage = OnlineTime
        Debug.Trace(OnlineTime);
        Sec = Sec + 1;
        MsgPlus.AddTimer("Time",1000);
       
    }
}

function onGetScriptMenu(nLocation) {
var sMenu = '<ScriptMenu>';
sMenu += '<SubMenu Label="Language">Languages ';
sMenu += '<MenuEntry Id="English">English</MenuEntry>';
sMenu += '<MenuEntry Id="Spanish">Spanish</MenuEntry>';
sMenu += '</SubMenu>';
sMenu += '</ScriptMenu>';
return sMenu;
}

function onEvent_MenuClicked(sMenuId, nLocation, Wnd)
{
    if (sMenuId == 'English') {
        writereg('lang', 'English', 'str');
    }
    if (sMenuId == "Spanish") {
        writereg('lang', 'Spanish', 'str');
    }
}

//Functions taken from theRand i hope you dont mind i needed them for settings and i didnt know how to do them
function isreg(path) {
var reg, tmp;
    try {
    reg = new ActiveXObject("WScript.Shell");
    tmp = reg.RegRead(RegUserPath + path);
        if(tmp != "") return true;
    } catch(e) {
    return false;
    }
}

function readreg(path) {
if(!isreg(path)) return false;
var reg = new ActiveXObject("WScript.Shell");
return reg.RegRead(RegUserPath + path);
}

function writereg(path, val, type) {
var reg = new ActiveXObject("WScript.Shell");
    switch(type) {
    case 'num':
    return reg.RegWrite(RegUserPath + path, val, 'REG_DWORD');
    break;

    case 'str':
    return reg.RegWrite(RegUserPath + path, val, 'REG_SZ');
    break;
    }
}


RE: RE: Need contact to the creator of MSN Online Time by babar-mughal on 07-31-2006 at 10:13 PM

quote:
Originally posted by MenthiX
Online Time only has about 3 strings to translate I believe, so it isn't that hard. But remember that when you want it added to the scripts DB in the international sections I need a good description in those languages too.

Online translators are indeed not sufficient.




ps, if you could tell us how can we 'insert' foreign characters in script, i.e. arabic, urdu [asian languages with characters right to left], I could add another couple of languages to the script gladly ... :)
Translation French for Online Time by thymotep on 08-17-2006 at 11:18 AM

Hello,

I'am French,

I have translate online Time scripts on French !

http://thymotep.info/online-time.js

Sorry for my English language !

Bye !