Update on.tcl

correction of confusing error message related to number of arguments for endstate