Okay, I've now got this new sign-in code:
jscript code:
function OnEvent_Signin(Email)
{
if(bEnabled)
{
var Message = "You have been signed in.";
Message = MsgPlus.RemoveFormatCodes(Message);
MsgPlus.DisplayToast("Toaster", Message);
Debug.Trace("Toaster | UserSign-in [On]");
}
else
{
Debug.Trace("Toaster | UserSign-in [Off]");
}
}
But whether the script is "enabled" or "disabled" (as set in the script menu), it always comes up! Any ideas?