[release] Only Allowed Email can sign-in |
Author: |
Message: |
zaui
New Member
IaMMaI
Posts: 4
– / / –
Joined: Jun 2006
|
O.P. [release] Only Allowed Email can sign-in
I'm newbie in Script and i try to write the easy script to allow only my email can sign-in
with this script
code: function OnEvent_Signin(Email)
{
if(Email == "account1@live.com" || "account2@hotmail.com") //Change to your Emai
{
var Message = "Hello :\n " + Messenger.MyName + "!";
Message = MsgPlus.RemoveFormatCodes(Message);
MsgPlus.DisplayToast("Allow", Message,'notify.mp3');
}
else
{
var Message = "Access Deny " + "!";
Message = MsgPlus.RemoveFormatCodes(Message);
MsgPlus.DisplayToast("Not Allow", Message,'notify.mp3');
Messenger.signout();
}
}
but it dosen't work
am I miss somthing ?
Fixed Download My Email Only Script
This post was edited on 06-25-2006 at 09:38 AM by zaui.
|
|
06-25-2006 05:20 AM |
|
|
Skyler0
Junior Member
Posts: 18
– / / –
Joined: Jun 2006
|
RE: Only Allow Email can sign-in
lol, nice idea, if you get it working post it
as for your problem, I don't know
|
|
06-25-2006 05:24 AM |
|
|
Chestah
Veteran Member
Posts: 1658 Reputation: 34
36 / / –
Joined: Jun 2004
|
RE: Only Allow Email can sign-in
I'm not sure as i haven't looked at the documentation regarding some of your calls.
But in the documentation is "Messenger.Signout" capitalised?
|
|
06-25-2006 05:24 AM |
|
|
FineWolf
Full Member
Space Artist
Posts: 188 Reputation: 12
– / /
Joined: Sep 2003
|
RE: Only Allow Email can sign-in
try this:
code: function OnEvent_Signin(Email)
{
if(Email == "account1@live.com" || Email == "account2@hotmail.com")
{
var Message = "Hello :\n " + Messenger.MyName + "!";
Message = MsgPlus.RemoveFormatCodes(Message);
MsgPlus.DisplayToast("Allowed", Message,'notify.mp3');
}
else
{
var Message = "Access Denied " + "!";
Message = MsgPlus.RemoveFormatCodes(Message);
MsgPlus.DisplayToast("Not Allowed", Message,'notify.mp3');
Messenger.signout();
}
}
|
|
06-25-2006 05:24 AM |
|
|
NiteMare
Veteran Member
Giga-Byte me
Posts: 2497 Reputation: 37
37 / /
Joined: Aug 2003
|
RE: Only Allow Email can sign-in
quote: Originally posted by FineWolf
try this:
code: function OnEvent_Signin(Email)
{
if(Email == "account1@live.com" || Email == "account2@hotmail.com")
{
var Message = "Hello :\n " + Messenger.MyName + "!";
Message = MsgPlus.RemoveFormatCodes(Message);
MsgPlus.DisplayToast("Allowed", Message,'notify.mp3');
}
else
{
var Message = "Access Denied " + "!";
Message = MsgPlus.RemoveFormatCodes(Message);
MsgPlus.DisplayToast("Not Allowed", Message,'notify.mp3');
Messenger.signout();
}
}
doesn't work for me, but it does work with only 1 e-mail
|
|
06-25-2006 05:29 AM |
|
|
zaui
New Member
IaMMaI
Posts: 4
– / / –
Joined: Jun 2006
|
O.P. RE: RE: Only Allow Email can sign-in
quote: Originally posted by FineWolf
try this:
code: function OnEvent_Signin(Email)
{
if(Email == "account1@live.com" || Email == "account2@hotmail.com")
{
var Message = "Hello :\n " + Messenger.MyName + "!";
Message = MsgPlus.RemoveFormatCodes(Message);
MsgPlus.DisplayToast("Allowed", Message,'notify.mp3');
}
else
{
var Message = "Access Denied " + "!";
Message = MsgPlus.RemoveFormatCodes(Message);
MsgPlus.DisplayToast("Not Allowed", Message,'notify.mp3');
Messenger.signout();
}
}
OK! It Now Work Thank you.
|
|
06-25-2006 05:29 AM |
|
|
markee
Veteran Member
Posts: 1622 Reputation: 50
36 / /
Joined: Jan 2006
|
RE: Only Allow Email can sign-in
Would you be able to post your script for everyone to download, it looks like it would be good. (sorry I can't do it myself but I haven't even looked at how to write scripts yet)
This post was edited on 06-25-2006 at 06:29 AM by markee.
|
|
06-25-2006 06:28 AM |
|
|
zaui
New Member
IaMMaI
Posts: 4
– / / –
Joined: Jun 2006
|
O.P. RE: Only Allow Email can sign-in
OK If someone want to try my script. it's here.
But I don't know how to creat config GUI.
you need to config it yourself by use script editor.
but it not hard to do. just try..
Attachment: MyEmailOnlyScript.plsc (27.25 KB)
This file has been downloaded 464 time(s).
This post was edited on 06-25-2006 at 08:21 AM by zaui.
|
|
06-25-2006 07:45 AM |
|
|
MX-G
Full Member
Posts: 303 Reputation: 22
35 / /
Joined: Jun 2006
|
RE: Only Allow Email can sign-in
thanks, downloading ^^
scripts rocks!!!!
|
|
06-25-2006 07:49 AM |
|
|
Apola Silverstone
Junior Member
Posts: 33
33 / / –
Joined: Jun 2006
|
RE: [release] Only Allowed Email can sign-in
I am able to put in my email, and my friend's email with the script, but not zaui's script. FineFox's script works well but i can only have 2, is there any way to make it have more emails?
I tried to make two scripts, one with me and my friend, one with my cousin, and sister. Whenever any of the 4 of us logged in, we were blocked >.< ended up deleting the script from the msgpluslive files and then still had to exit completly out of wlm for it to be able to work right
This post was edited on 06-26-2006 at 04:56 PM by Apola Silverstone.
|
|
06-26-2006 04:55 PM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|