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
zeiuszeppo
Novice


Joined: 22 Nov 2001
Posts: 48
Location: Italy

PostPosted: Fri Jan 18, 2002 10:03 am   

problem with alias
 
Hi guys, I need help. I have done this alias:
gt -> gtell $c0014 %1

But now I'd like to apply to the alias a new
string at che end of the %1, but zmud insert
it after the FIRST word of %1. How can I do?
Reply with quote
iljhar
GURU


Joined: 10 Oct 2000
Posts: 1116
Location: USA

PostPosted: Fri Jan 18, 2002 9:57 pm   
 
I'm a bit confused as to what you want to do. Do you mean you want to change your alias from:

#alias gt {gtell $c0014 %1}

to:

#alias gt {gtell $c0014 %1 blah blah}

but you can't since %1 is only returning the first word?

If so, then change the alias to this:

#alias gt {gtell $c0014 %-1 blah blah}

If that's not what you want, can you please give an example of what you want and an example of what it's doing that you don't want it to do?

Iljhar
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