onTimeChange problem

Started by Fjose, Nov 21, 2014, 08:49 PM

Previous topic - Next topic

Fjose

Simply I was testing this code
function onTimeChange( hr, min)
{
     print( "Server Time: " + hr + ":" + min );
}

and I'm receiving this message: AN ERROR HAS OCURRED [Wrong numbers of parameters]
CALLSTACK
LOCALS

Stormeus

Syntax is onTimeChange(oldHour, oldMinute, newHour, newMinute)

In retrospect this may be somewhat verbose.