[Solved] Battle event help

Hello fellow members of RPG Maker,

I'll get right to the point, is there is way to make an battle event where lets say Boss A defeats Hero A till he/she has 1 HP left then add a Text saying something like "I am not going to be defeated by the likes of you blah.. blah.. blah.." after that then call some sort of command to add new learn skill and restore HP back to Hero A? or something similar to it? (Sorry if this was asked before I been trying to see if there is a way for weeks now)

Thanks,

NanayaQ

P.S. Also, I am using Atelier-Rgss scripts

Edit: Solved, been using wrong event commands. 

Original thread: https://forums.rpgmakerweb.com/threads/solved-battle-event-help.34816/