What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [release] Only Allowed Email can sign-in

Pages: (2): « First [ 1 ] 2 » Last »
[release] Only Allowed Email can sign-in
Author: Message:
zaui
New Member
*

Avatar
IaMMaI

Posts: 4
– / Male / –
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
Profile PM Web Find Quote Report
Skyler0
Junior Member
**


Posts: 18
– / Male / –
Joined: Jun 2006
RE: Only Allow Email can sign-in
lol, nice idea, if you get it working post it :P

as for your problem, I don't know  :(
06-25-2006 05:24 AM
Profile E-Mail PM Find Quote Report
Chestah
Veteran Member
*****

Avatar

Posts: 1658
Reputation: 34
36 / Male / –
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?
Segosa is newb.
06-25-2006 05:24 AM
Profile E-Mail PM Web Find Quote Report
FineWolf
Full Member
***

Avatar
Space Artist

Posts: 188
Reputation: 12
– / Male / Flag
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();
}
}

[Image: spacesigkj4.png]
06-25-2006 05:24 AM
Profile PM Web Find Quote Report
NiteMare
Veteran Member
*****

Avatar
Giga-Byte me

Posts: 2497
Reputation: 37
37 / Male / Flag
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
[Image: sig/]
I'll never forget what she said 6861 days, 15 hours, 36 minutes, 6 seconds ago
Need hosting? Check
out my website. we can help you out :)
06-25-2006 05:29 AM
Profile PM Web Find Quote Report
zaui
New Member
*

Avatar
IaMMaI

Posts: 4
– / Male / –
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
Profile PM Web Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
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.
[Image: markee.png]
06-25-2006 06:28 AM
Profile PM Find Quote Report
zaui
New Member
*

Avatar
IaMMaI

Posts: 4
– / Male / –
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..

.plsc File Attachment: MyEmailOnlyScript.plsc (27.25 KB)
This file has been downloaded 465 time(s).

This post was edited on 06-25-2006 at 08:21 AM by zaui.
06-25-2006 07:45 AM
Profile PM Web Find Quote Report
MX-G
Full Member
***

Avatar

Posts: 303
Reputation: 22
35 / Male / Flag
Joined: Jun 2006
RE: Only Allow Email can sign-in
thanks, downloading ^^

scripts rocks!!!!
06-25-2006 07:49 AM
Profile PM Find Quote Report
Apola Silverstone
Junior Member
**


Posts: 33
33 / Other / –
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
Profile E-Mail PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On