This type of thing, while massively complicated to code in to StarMade right now, could potentially handle a whole rift of tasks, from switching weapon effect groups from ion to punch-through rather than having two whole weapon groups to even auto-docking drone fighters!
Good idea, and as said...