This is actually three scripts, but once you start the first you can control the rest with the Action Menu
. The script allows you to deploy any empty object with a gunner's position to your location, where you instantly become gunner. This is great for establishing machinegun positions :gunman:. You can undeploy and redeploy the machinegun at will with the action menu too ;D. Anything I missed is probably in the readme
.