G.MACRO is not just a macro or a script, it is a full-fledged program for Logitech G mouses that allows you to change macro parameters on the fly, right in the game, adjust to recoil, make automatic weapons from any semi-automatic and much more!
The set of functions depends entirely on the version of G.MACRO you choose.