SelectSquadron(weapon);
It makes the given squadron weapon selected in the GUI, and deselects everything else. Only your own squadron can be given.