If you meen how do you add tanks, first code the tank, then make a button and add it to the command set (there are plenty of tuts so i wont go into detail). If your prob is not enough space in the command set, look at the code for the GLA worker (in ZH), and specifically the switch commandset bit
Make a commandset like the GLA's worker, but you can only add up to 4 extra commands... you have to edit the first commandset so that it goes up to 18 (the engine only permits up to 18) and add the button to give the upgrade and a button to switch back... as far as I know this is the only way possible... and beleive me I have tried... spent 2 months trying!!
little bitter about my expirence... not anyone's fault except for the genius that said let's make it only up to 18!
editing to take 18 is relatively simple, just edit the commandbar.wnd in the Window.big to add 4 more buttons, make sure they are in the same groupd as the 14 other buttons and are name correctly