Preventing Drone Damage and changing target lock

  1. When using the bot had a problem that NPC attacks my drones. How can I change the settings so that when 50% of the shield is damaged, the drone will fly in the drone buy?
  2. How can I change the actions of targets lock, as well as other actions that the bot does through the context of the menu to “hot” keys?
  3. How to add a check if there is an NPC disruptor on the ship, and if there is, then kill NPC frigates even when neutral appears
  4. Control over the shield HP and armor. Dock to the station with a shield HP - 0%