Nayuko Novice
Joined: 17 Jun 2008 Posts: 41
|
Posted: Mon May 06, 2013 3:45 pm
%subchar, %subregex |
Hello guys!
I have written an alias:
Code: |
#EXE %concat("': ",%item( "loudly: |strange: |sensitive: |silently: |thunderly: ", %random( 1, 5)),%subchar(%-1,"wWrRcCzZgGbBdD","fFlLsSsSkKpPtT"))
|
And I need to ask, if it may work under zMud. It was written in cMud. Works perfectly. My friend was testing that alias under his zMud(7.04), and there is a problem shown while he uses commas. The alias doesn't work anymore if there is comma used.
The second question is, is there any possibility to use any function(not %replace) to sub few letters in a raw? %subchar can only change 1 letter for 1 letter. I was trying to understand how subregex works but it's too complicated for me if I see only help/manual examples given originally with cMud files. Maybe there is a way to sub "rz" for "sh", "kr" for gh" etc. . Im trying to build simple translator.
Thanks!
N. |
|