About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Draeger
Beginner


Joined: 14 Aug 2004
Posts: 10

PostPosted: 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
Reply with quote
Morgoth
Beginner


Joined: 07 Apr 2004
Posts: 12
Location: Israel

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net