public LSL_Float llGetAndResetTime() { m_host.AddScriptLPS(1); double now = Util.GetTimeStampMS(); double ScriptTime = now - m_timer; m_timer = now; return (float)Math.Round((ScriptTime / 1000.0), 3); }