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