private static void FWait(World world, string str) { int ticks = Convert.ToInt32(Regex.Match(str, @"\(.*?\)").Value.Replace("(", "").Replace(")", "").Trim()); for (int i = 0; i < ticks; i++) { world.Tick(); } }