I wrote a couple of scripts on spec that didn't get made but got some attention, and I then got offers to write professionally.