Thanks for posting @warken.
The good news is that this exploit in its latest form was introduced by the Update: Battle Rewrite! update in December, which while still bad isn’t a huge amount of time relatively speaking.
The bad news is, earlier than that, a similar but somewhat more restrictive exploit was also possible in the older battle code for who knows how long.
Neither form of the bug exists any longer.