Needing help with Advanced Text System, by modern algebra (RGSS2)

I'm using ATS 3.0c, by modernalgebra which is the latest version I've found. I'm using the code \af[x] which changes the face graphic for the face from actor number X, from the database. I use it in conjunction with the \pid[x] code, which displays the database number of actor in position X in the party. This is great because I'm also having a large party script, so it helps writing conversations that show the face of whomever is in the party. For instance, to show the face of the first actor in the party, I'd use \af[\pid[0]]. No matter which actor was at the first spot in the party, it would show their face.

This works just fine in the show text command, however, the script also lets me set up filters. This are basically a way to shorten commands. For instance, I can set up a filter labeled "face" with the above face code, so I type \f[face] and it returns \af[\pid[0]]. However, the \pid[x] code apparently doesn't work when called by the filter. The face code works though. I was using it just fine with ATS 2.0, but I've had other issues with that version, so I've updated it. I could just write the full code everytime, but the game is already coded like this, it would mean rewriting most of the dialogue in the game.

Do any of you guys know how to solve this?

Here's the link to the script https://rmrk.net/index.php?topic=25348.500

Just to clear up, I've also added the conversion script modern algebra made precisely for 2.0 users who upgraded to 3.0, but It still had no effect. And I've tried isolating it on another project to check for compatibility issues, but I've got the same problem. It appears to be something within the ATS itself.
\resub - this feature will rerun the substitution method. It is useful if you want to use some message codes as arguments for other message codes
Have you tried using this? Was that added in v3.0?
Have you tried using this? Was that added in v3.0?
That solved it! Didn't even know about this code, it is described only in the post, it's not in the script!
Thank you so much. You saved me hours of tedious debugging of every single text message in the game (it runs for like 15+ hours of gameplay).

Original thread: https://forums.rpgmakerweb.com/threads/needing-help-with-advanced-text-system-by-modern-algebra-rgss2.171882/