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

[release] Only Allowed Email can sign-in
Author: Message:
Apola Silverstone
Junior Member
**


Posts: 33
33 / Other / –
Joined: Jun 2006
RE: [release] Only Allowed Email can sign-in
ok the script that works, and can have any amount of emails added is this

function OnEvent_Signin(Email)
{
if(Email == "email1@hotmail.com" || Email == "email2@hotmail.com" || Email ==  "email3@hotmail.com" || Email ==  "email4@hotmail.com" || Email ==  "email5@hotmail.com" || Email ==  "email6@hotmail.com")
{
var Message = "Welcome " + Messenger.MyName + "!";
Message = MsgPlus.RemoveFormatCodes(Message);
MsgPlus.DisplayToast("Access Granted", Message,'notify.mp3');
}
else
{
var Message = "Access Denied" + "!" + "Bye-Bye " + Messenger.MyName + "!";
Message = MsgPlus.RemoveFormatCodes(Message);
MsgPlus.DisplayToast("Bouncer Bot Activated", Message,'notify.mp3');
Messenger.signout();
}
}


and then if you want to addmore people, just copy and paste { || Email == "email2@hotmail.com"} into the end of the line if(Email == "email1@hotmail.com" || Email == "email2@hotmail.com" || Email ==  "email3@hotmail.com" || Email ==  "email4@hotmail.com" || Email ==  "email5@hotmail.com" || Email ==  "email6@hotmail.com"<right here>)

this works for certain, tested many times

This post was edited on 06-27-2006 at 02:20 AM by Apola Silverstone.
06-27-2006 02:12 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[release] Only Allowed Email can sign-in - by zaui on 06-25-2006 at 05:20 AM
RE: Only Allow Email can sign-in - by Skyler0 on 06-25-2006 at 05:24 AM
RE: Only Allow Email can sign-in - by Chestah on 06-25-2006 at 05:24 AM
RE: Only Allow Email can sign-in - by FineWolf on 06-25-2006 at 05:24 AM
RE: RE: Only Allow Email can sign-in - by zaui on 06-25-2006 at 05:29 AM
RE: Only Allow Email can sign-in - by NiteMare on 06-25-2006 at 05:29 AM
RE: Only Allow Email can sign-in - by markee on 06-25-2006 at 06:28 AM
RE: Only Allow Email can sign-in - by zaui on 06-25-2006 at 07:45 AM
RE: Only Allow Email can sign-in - by MX-G on 06-25-2006 at 07:49 AM
RE: [release] Only Allowed Email can sign-in - by Apola Silverstone on 06-26-2006 at 04:55 PM
RE: [release] Only Allowed Email can sign-in - by Skyler0 on 06-26-2006 at 05:29 PM
RE: [release] Only Allowed Email can sign-in - by Apola Silverstone on 06-26-2006 at 05:35 PM
RE: [release] Only Allowed Email can sign-in - by Arsenal on 06-26-2006 at 08:35 PM
RE: RE: [release] Only Allowed Email can sign-in - by The Brain on 06-27-2006 at 02:09 AM
RE: [release] Only Allowed Email can sign-in - by Apola Silverstone on 06-27-2006 at 02:12 AM
RE: [release] Only Allowed Email can sign-in - by zaui on 06-29-2006 at 04:50 PM
RE: [release] Only Allowed Email can sign-in - by Thor on 06-29-2006 at 05:18 PM


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