Getting nuts with this...
I have 2 timers, like this:
code:
function OnEvent_ContactSignin(Email)
{
MsgPlus.AddTimer("ResetAll", 60000);
if(...){}
else
{
if(...)
{
if(...)
{
MsgPlus.AddTimer("UnBlocker", 5000);
}
else{}
}
}
}
Then outside the ContactSignIn function I have the OnEvent_Timer, like this:
code:
function OnEvent_Timer(UnBlocker)
{
.....
}
function OnEvent_Timer(ResetAll)
{
....
}
and besides the if's and else's, the timer UnBlocker triggers before timer ResetAll, or at least, it should, but it isn't. Everything works except when I had the function for the ResetAll timer... Does it have anything to do with the scope or the order they're declared?
P.S. I didn't put all the code, but if it's needed, just say so.
TIA