I guess EDDI users frequently copy and paste code fragments and whole scripts so they will understand the installation instructions.I did know it worked as I tried it out before posting
The normal way to share scripts with other EDDI users is to post the script and the details, much as I have done in my post. I'd say that your installation instructions should detail how to enter the required script into the correct event in EDDI as well as the script itself.
Just as an aside, you'll notice that in the scripts the default value of the body_radius is zero and this is deliberate since you can trap the zero value in your VA scripts and output the appropriate response. The timing of the state variables is not guaranteed in EDDI so there is a possibility that the body_radius will not be set when the near surface VA command is triggered.
Funnily enough, one of my early tests did encounter a body_radius set to zero as a result of the timing issue you mention. Provided the script is guaranteed to run, and the body_radius is eventually set in the state, I could try inserting a repeat loop with a pause in the VA event handler. I'm wary of making this a 'while body_radius < 1' loop which could be never-ending. Maybe, 'repeat 5 times' and tell the user if the radius is still not set.