Is there a limit to how big a plotscript can be?
From OHRRPGCE-Wiki
Yes. Individual compiled scripts must fit in the script buffer, which is currently 256 kilobytes. In general, you should never worry about your script being too big, unless you actually see a Script Buffer Overflow error.