Scripts are there for a few reasons... so you can do a loop (for lighting control panels, a strobe or something similar) and so you can reuse a complicated set of functions across multiple games. I believe I include a script for strobing an input, but just in case I didn't, yes you make use of the wait command again along with a looping script called via the loop script function.
You'd do something like this inside the script:
uls 1 1 %s%
wat 10
uls 1 1 0
So basically it sets the state (on or off) waits 10 ms, turns it off (of course if the state was zero it'll do nothing, but this keeps the loop consistent) and then starts the whole thing over again. If you have multiple guns, it's best to do them both in the same loop, so it'd be something like this:
uls 1 1 %Player1_Gun_Recoil%
uls 1 2 %Player2_Gun_Recoil%
wat 10
uls 1 1 0
uls 1 2 0
Note that in the above example I used the specific output names, which should also work. If you run into issues let me know... I don't get a lot of feedback on advanced script usage so there could always be a bug or two and I'm on the verge of a new release so now would be the time to let me know.