selectweapon
weaponmanual page 4
selectweapon "weapon name" | <nbr>
Arguments
| Argument | Type | Required | References |
|---|---|---|---|
| weapon name | str or int | yes | weapon |
Takes 1 argument.
What it does
Selects an existing weapon for modification. There may be several different weapons with the same name, in which case you should use the weapon number for selecting the desired weapon. You can see existing weapon numbers in game by pressing ctrl-i when inspecting a unit.
— modding manual, page 4 (as a weapon command)