|
Draeger Beginner
Joined: 14 Aug 2004 Posts: 10
|
Posted: Thu Aug 19, 2004 4:42 am
Replacing letters with symbols |
If I type gt abc it shows
"You tell the group 'abc'"
I want it to replace abc with other symbols
for instance, type gt abc it will send the mud
gt 44532
the first 4 is a, 45 is b, and 32 is c |
|
|
|
Morgoth Beginner
Joined: 07 Apr 2004 Posts: 12 Location: Israel
|
Posted: Thu Aug 19, 2004 7:44 am |
#ALIAS gt {String=%1;newgt}
#ALIAS newgt {String=%replace( @String, a, 4);String=%replace( @String, b, 45);String=%replace( @String, c, 32);~gt @String}
Try that out. |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|