Ok, the first step is used to create of string $1 which is used as a reference for unpermute string. The 2 is to check invalid inputs like xyxc which has two x in it. And 3 creates a image which are numbers that are represented as unpermute string. 4, and 5 finalize on that part by setting the image value converted to characters into unpermute_string. The rest is for audio-style processing. I’m not sure how I can explain better. If you try the code yourself, and change the between #Insert Code Here#, and #End, you may understand.
Here’s a test code:
rep_auda cxyz