Q: How to prevent autorun a script while Rhino is loading?

Normally you just enter the following on your button:

! _-RunScript ( < paste script here > )

I haven’t looked into the internals of that script but here’s a thread discussing that one: