What you can do :
In all your script :
on the top :
code:
var email_authorized = new Array("example@truc.fr");
var authorized;
in the OnEvent_Signin (creat it if don't exist)
code:
function OnEvent_Signin(Email)
{
authorized = false;
for (var i =0; i<email_authorized.length;i++)
{
if (email_authorized[i] ==Messenger.MyEmail)
{
authorized = true:
break;
}
return;
}
//real code of the OnEvent_Signin...
}
and in all the function OnEvent, on the top :
code:
function OnEvent_XXXXXX(....)
{
if (!authorized)
{
return;
}
//real code of the OnEvent_XXXX...
}
If you have a lot of script, It can be long but you just have make this juste 1 on time ^^
Squelettor