Add a battle log message for elemental weakness/resistance

I basically wanted to know if it was possible to add a more battle log message when a the enemy is hit by an attack of an element that it is weak/resistent to.
Something like:

- A attacks.
- B recives 300 damage.
- The attack was not very effective... / The attack was very effective!
You might be interested in this plugin then: Battle Pop Ups.
I think for it to display the popups of weaknesses it needed the Scan Enemy Script, but I'm not sure.

Original thread: https://forums.rpgmakerweb.com/threads/add-a-battle-log-message-for-elemental-weakness-resistance.140225/