How to make a Flee skill?

I just got my computer back and wanted to use Yanfly's Battle Manager to remove the party command. So, since the player wouldn't be able to choose to flee, anymore, I decided to add a Flee skill to the main character and the Thief.


If I set the scope as none, nothing happens. If I set as User, only they escape. If I set as All, the game doesn't freeze, but the battle stays still forever. As in, in the battletest the console says nothing, but on the game itself it says it can't find pixi.js.map...


So, how do I make a Flee skill?


[EDIT] Just checked and you can choose to flee with Yanfly's plugin...


But still, a skill to run with more chances is good for a thief, so... any ideas?
Can't you use a common event?
When making the skill open the Effect menu.
Go to the Other tab and select Special Effect, Escape is the only option avaliable. 
@kovak that is what I did, and as I said before when I set to all the game stops at the end of the battle. The battle doesn't end, and if in the game itself the map music resumes but the scene stays in the battle.


I think it was meant for enemies...
@WaterguyIt was. In MV it does hang the game if you use it for everyone, and in ACE it can get you a game over because the engine will think the battle party is 0 so you're all dead. Basically, it's really glitchy when used for the party (though why they couldn't have coded it in to work for the player is something I'll never understand, as it seems odd to make a feature that restrictive).


I think you'll need either a cute common event to pull it off, or a plug-in.
I think I'll just remove it then...


Thanks for the help, everyone!
Ya I tried even making it through an item to try and you can make individuals use escape but the last one that goes gets stuck as it is battle over. Tried a few different ways and each time it freezes as the last of the party escapes. 
I had to remove mine in ACE for similar bugs, so don't feel too bad. What I did instead was I made the flee command have a higher rate of working via a script. I think you could do the same in MV with a plug-in, as I think Yanfly's plug-in's let you enter in what you want for the escape ratio.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-flee-skill.68738/