The way I want the enemy trust system to work is you use a talk skill on an enemy, and he tells you what he wants. If you give him what he wants, his trust of you will increase, which I'm going to use a variable for.
So the script would be to take the index of the enemy you use the skill on into a variable. For example, if I use the skill on the first enemy in the troop, then when his trust goes up it will increase variable a. If I use the skill on the second enemy in the troop however, then variable b. will increase. I'll be using 4 variables, which is the max number of enemies I'm going to have in a single battle.