public LSL_Integer llModPow(int a, int b, int c) { if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return 0; Int64 tmp = 0; Math.DivRem(Convert.ToInt64(Math.Pow(a, b)), c, out tmp); ScriptSleep(100); return Convert.ToInt32(tmp); }