Animation-CobConstants
Source
This has a list of all COB SET/GET keys: https://spring.clan-sy.com/svn/spring/trunk/rts/Sim/Units/COB/CobInstance.cpp
You'll want to include a file with these constants in your script.
SET/GET
Use
Use GET [tag] to get a value. Some GETs refer to functions; in this case, use GET [tag](arg1, arg2, arg3, arg4). Use SET [tag] to [value] to change a value.
Tags
There's a lot of GET/SET tags; I'll cover some of the more useful but less intuitive ones.
ACTIVATION: Whether the unit is on (true) or off (false).
ARMORED: When true, any damage dealt to the unit will be multiplied by its damageModifier.
PRINT: You can use GET PRINT to send up to 4 arguments to chat. Useful for debugging.
VETERAN_LEVEL: The unit's experience times 100. Note that you can SET this via script, although the unit won't gain any extra health from doing so.