Skip to the bottom for tl;dr-ness.
So despite some issues getting OpenRPG installed on my new computer, I finally succeeded. Further issues ensued with the alias library window crashing and making all of OpenRPG unresponsive save for the quit button - how considerate - until I updated to the beta version.
My problem is with filter behaviour. I tried setting up a filter that would replace or remove letters in messages to represent a different language. For instance, 'Cleverness of the Vortex' should work out as 'Csuusrurr a su Vassu'.
Code:
Replace... a ,b,c,d,e,f,g ,h,i ,j ,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y ,z.
...with... i'a, ,s,s,u, ,ph, ,uh,th,h,s,n,r,a,z,w,s,r,s,i, ,z, ,il, .
Code:
Cleverness of the Vortex.
Csu usrurr a s u Vassu .
Basically a Caesar cipher; I... don't have the persistence to make up a whole new language, or even this filter - I'm borrowing it from a generator at Chaotic Shiny - and it produces something that looks fairly close to being another language. Plus the players get rewarded early if they work out how to decipher the speech.
Anyway, if you work it out on paper, 'Cleverness of the Vortex' should indeed produce 'Csuusrurr a su Vassu'... but when I turn it into a filter in OpenRPG, and type that name, I instead get 'Criirrirr a si Varsi'.
I can even tell why it's doing that, I think; the above order, left-to-right, is the order I input letters to be replaced and replacements, in the filter, and filtering doesn't
stop when a match is found for a letter to replace. So when it sees 'l' in 'Cleverness', it first replaces it with 's'
then replaces that with 'r' when it continues checking and matches it with 's'.Is there any way to have it not do that, or am I going to have to run stuff through the Language Mixer at Chaotic Shiny each time I want to know the translation for anything?
tl;dr - how do I stop filters from continuing to test for matches and replace letters after it's replaced a letter once already?