private void ValidatePlan()
        {
            WeblScript scripter = new WeblScript();
            string     modPlan;

            if (!scripter.ValidatePlan(this.FightPlanText, out modPlan, "#!"))
            {
                MessageBox.Show("Plan invalid - invalid lines marked with #!");
                this.FightPlanText = modPlan;
            }
        }
示例#2
0
 public bool Validate()
 {
     return(WeblScript.ValidatePlan(FightPlanText));
 }