only master can login ! - 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: only master can login ! (/showthread.php?tid=92167)
only master can login ! by moon2009 on 09-10-2009 at 02:49 AM
hi
I want small script
when the user open my messenger - on my pc - then enter his email and password
if the email and the password match the master email and password the user can login as owner
or msnpuls give him a message ( you can't login, this messenger only for master )
who can help me ?
sorry for my weak english
RE: only master can login ! by roflmao456 on 09-10-2009 at 03:10 AM
Simply checking the email address..
code: function OnEvent_Signin(Email){
if(Email != "your@email.com"){
MsgPlus.DisplayToast("Only Master", "This messenger is only for the owner");
Messenger.Signout();
}
}
RE: only master can login ! by Chrono on 09-10-2009 at 06:26 AM
quote: Originally posted by roflmao456
Simply checking the email address..
code: function OnEvent_Signin(Email){
if(Email != "your@email.com"){
MsgPlus.DisplayToast("Only Master", "This messenger is only for the owner");
Messenger.Signout();
}
}
That doesnt help at all considering he probably doesnt know how to script
RE: RE: only master can login ! by moon2009 on 09-10-2009 at 09:13 AM
quote: Originally posted by roflmao456
Simply checking the email address..
code: function OnEvent_Signin(Email){
if(Email != "your@email.com"){
MsgPlus.DisplayToast("Only Master", "This messenger is only for the owner");
Messenger.Signout();
}
}
thank you so much
but how can I use my password ?
if I want to login in 2 accounts with the same password ?
I think MsgPlus doesn't support this method, right ?!
thanks again
RE: RE: only master can login ! by moon2009 on 09-10-2009 at 09:24 AM
quote: Originally posted by Chrono
quote: Originally posted by roflmao456
Simply checking the email address..
code: function OnEvent_Signin(Email){
if(Email != "your@email.com"){
MsgPlus.DisplayToast("Only Master", "This messenger is only for the owner");
Messenger.Signout();
}
}
That doesnt help at all considering he probably doesnt know how to script
exactly, I'm beginner in javascript language + new in MsgPlus scripts
but I can write the script and make it as .plsc file
see the attachment
RE: only master can login ! by matty on 09-10-2009 at 12:24 PM
ScriptInfo.xml file should be unicode. Currently you have it saved as ANSI.
|