How can I make a skill that automatically triggers when a battle begins with the "Cae_AutoSwitchVars" plugin?

Greetings, I do require help making a skill, as you can see in the title, this skill basically gives you a Def. and M.Def. Buff for 5 turns at every beginning of any battle.
I've been looking for ways to do it, and I found the "Cae_AutoSwitchVars" plugin, the problem is that as I am very new in RPG Maker, I basically don't know how to do it (And I couldn't find any tutorial to make progress).

Any help and tips help me a lot!

-MiruBear96
You may want to post your question in the actual thread for the plugin, or at least tag the author @caethyril as she's quite active on the forums.

How is this plugin going to help you do what you want? I don't really see how turning on a switch or setting a variable will help you get a buff at the beginning of battle.

It seems to me this would be easiest to do with a turn 0 troop event.
I agree, I don't think that plugin would help you do what you want. It can turn on a switch at a certain time, but that's not useful unless you do something with it.

Each troop can have events, set up on the Troops tab in the database. Like Turan suggests, you could make one with:
  • Condition: Turn 0 (just before combat starts); and
  • Span: Battle (happens up to 1 time per battle).
Then maybe do something like this in that event:
  • Conditional Branch -> Actor -> That Guy.
    • Force Action -> That Guy, Buff Self, Last Target.
I.e. "if they're in battle, make them use the 5-turn 'Buff Self' skill".
Alright
Apologies for my mistake, maybe I was too focused on the term "Skill that activates automatically" (mainly because of my desperation for a solution and a list of free plugins that provided such a description). Although I appreciate the other alternative and will try to implement it.

I.e. "if they're in battle, make them use the 5-turn 'Buff Self' skill".
Btw, yes, it is a Buff Self skill
No worries! A switch and a skill are 2 very different things, though.

Good luck~ 👋

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-make-a-skill-that-automatically-triggers-when-a-battle-begins-with-the-cae_autoswitchvars-plugin.173417/