Reverse Alphabet Script - 24/11/03 09:04 AM
Hey all, just a quickie...
I'm looking for a script, or to make one, that reverses the alphabet with an alias.
Example:
/lang abdefg
will create zyxwvu.
I tried this with no success:
code { return $replace($upper($1-),a,z,b,y,c,x,d,w,e,v,f,u,g,t,h,s,i,r,j,q,k,p,l,o,m,n,n,m,o,l,p,k,q,j,r,i,s,h,t,g,u,f,v,e,w,d,x,c,y,b,z,a) }
/lang //say $code($1-)
Any ideas? All that creates is abcdefg again
andy
I'm looking for a script, or to make one, that reverses the alphabet with an alias.
Example:
/lang abdefg
will create zyxwvu.
I tried this with no success:
code { return $replace($upper($1-),a,z,b,y,c,x,d,w,e,v,f,u,g,t,h,s,i,r,j,q,k,p,l,o,m,n,n,m,o,l,p,k,q,j,r,i,s,h,t,g,u,f,v,e,w,d,x,c,y,b,z,a) }
/lang //say $code($1-)
Any ideas? All that creates is abcdefg again
andy