If you’re going the traditional visual novel format of “text + still images”, funscript might not seem like a good fit, since it is generally intended for video and all. However… if you want to do something like most of the games that support the Cyclone X10, which triggers different patterns as you play, funscript could be part of the solution.
I would probably suggest emulating the Whirligig timecode server in your program. That way, you can let existing software handle the fine details of playing a script for any given device, and all your code has to do is send a message in a standard format saying what script to play. (Well, and possibly having a background task that tells it to return to the start periodically, because I don’t think they’d loop on their own using this method.) You can make whatever patterns you want to use in one of the existing editors, and then everything should just work from there.