It honestly shouldn't be that difficult. As far as I can tell, it's just a collection of choices with a comparison between inputted text and a preset phrase thrown in somewhere. You can modify the displayed text to make the secret notes look prettier if you want.
your link proved to be much help. I didn't know about that wiki surprisingly... I thought I had read most of them haha it solves my problem with the choices. I was looking for hours on how to do it through script rather than command. I'll work on it tomorrow after work and post my progress.