[ACE] Thorns Effect Help.

Hello! I am relatively new to RPGmaker, but I am getting used to it rather quickly and I am having a lot of fun playing with it! Anyway, I am unsure if I should post this in the VXace thread of the Scripting thread, but since my problem requires custom scripts, I'm going to post it here. Apology to the mods in advance if this thread doesn't belong here.

Anyway, I am currently want to create and equipment into my game that works similar to the ThornMail Mv Plugin. Since VXace doesn't use plugins, I have to resort to using the scripts. I found a script made by GreatRedSpirit where it creates variables based off of the last damage taken from an enemy.

My idea is that I should use the variables created from the script and whenever someone has a thorns armor equip, it does damage back. I have some problems though.

A: I don't know how to access those variables outside of damage formulas
B: I don't know how to call an event when a enemy damages a party member

I assume problem B can be solves using script as I installed another script that calls in events using Conditional Branches, so I believe the solution to that is similar to that, however, I am completely lost on A

I'll provide any screenshots if anyone needs any
There are scripts for this, I used them. Unfortunately I'm rushing off to an appointment just now, so can't go hunting. What you're looking for is
"Tsukihime's Effects Manager" and then the add-on
"Thornmail Effect"

If you haven't found them by the time I get back (some hours from now) I'll look through my resources to see if I still have them.

EDIT
Found them.
Put Effects Manager right at the top of your custom scripts, and Thorn Armor immediately under it.
Implementation is just a simple notetag - details in the header of the add-on.
I am unsure if I should post this in the VXace thread of the Scripting thread,
This would be more of a script request. script support is for issues with a particular script.

works similar to the ThornMail Mv Plugin.
Like Kes said

Since VXace doesn't use plugins, I have to resort to using the scripts.
Correct. MV and MZ use plugins that are coded with Javascript. XP, VX and VX Ace use Scripts coded in Ruby.
Thanks Kas, I'll see if those work soonish.
This would be more of a script request. script support is for issues with a particular script.
Alright, I'll keep that in mind next time I face a similar issue. I went to this section because the VXace rules redirected me here.

Original thread: https://forums.rpgmakerweb.com/threads/ace-thorns-effect-help.161804/