protected override void Evaluate()
        {
            if (Parameters.Count != 1)
            {
                throw new Exception(string.Format("Expected 1 parameter, got {0} in function name {1}.",
                                                  Parameters.Count, Text));
            }

            UIMap.Leaders.MakeActive();
            UIMap.Leaders.SetAutomatedAssignments(ParameterTextParser.ReadBoolean(Parameters[0]));
        }
        protected override void Evaluate()
        {
            if (Parameters.Count != 2)
            {
                throw new Exception(string.Format("Expected 2 parameters, got {0} in function name {1}.",
                                                  Parameters.Count, Text));
            }

            var vertical = ParameterTextParser.ReadBoolean(Parameters[0], new [] { "vertical", "v" }, new [] { "horizontal", "h" });
            var offset   = ParameterTextParser.ReadInt(Parameters[1]);

            if (vertical)
            {
                Settings.VerticalWindowOffset = offset;
            }
            else
            {
                Settings.HorizontalWindowOffset = offset;
            }
        }