I think mirc should have a better script editor than a standard textbox. Possibly one with automatic color coding and little squiggly underlines for invalid/erroneous code