Hi, I am new to that job..I want to write a script that creates a time limit when user signs in. (Just for practising,itsnt useable
)
I wrote something like that , but it doesnt work ;
function OnEvent_Signin(Mail)
{
var time;
var Message = "Your time has started!";
MsgPlus.DisplayToast("Notice",Message);
MsgPlus.AddTimer(time,600)
}
function OnEvent_Timer(time)
{
var Message = "Your time is over..Signing out!";
MsgPlus.DisplayToast("",Message);
Signout();
}
I know i am just a starter,so there can be silly codes up there
...
Thanks for your help.