Is this possible?
I also have Visustella.
Not a Script Solution, but maybe it helps:
An Evented Workaround for standard Random Encounter would be:
If every Troop Event got an Eventpage running at Turn 0, 0 once in Battle.
There you could Turn a Switch to On.
That Switch will be the Page Condition for a Parallel Common Event, which executes your code and than it Turns itself Off by Switching the Switch Off again.
That means after the Battle the common Event would run.
Edit:
Sorry Scrap what i said, i overread the "WIN" in the Headline. That is not possible with the above.
Edit2: Ok it is possible thanks to Caethyril further down in this Thread XD.
Heya,
This is indeed possible with Visustella! The battle core, to be precise.
Navigate to the plugin settings, and then 'Mechanics Settings'. There you'll see a way to trigger a common event for a variety of battle outcomes such as victory, loss, escape, etc.