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
Storm
Newbie


Joined: 22 Jul 2006
Posts: 2

PostPosted: Sat Jul 22, 2006 9:38 am   

Alias question.
 
Hello. I'll say hi here because I'm new. But I also have a question.

I've set up an alias, #ALIAS ' '|G---|W%1|G--{|R@. On MateriaMagica MUD, it should look like the message I type after the alias ' in white text, inside a rose. ---Message.--{@. However, I've come across a problem. When I type ' Message Message2 it enters as, ---Message--{@ Message, and if I make it |G---|W%1%2|G--{|R@ instead, it goes ---Messagemessage--{@. If I put a space there, and only type one word, it does ---Message --{@. Is there any way to make it so everything written after the shortcut ' is ---here--{@ ? I'd be terribly happy if someone had a clue how to do it.

If nobody can, well, it was just an experiment I would like to have, it doesn't matter much.
Also if my explaination was crap, tell me exactly what I need to explain and I'll post it.

Thanks loads,
Storm.
Reply with quote
Dumas
Enchanter


Joined: 11 Feb 2003
Posts: 511
Location: USA

PostPosted: Sat Jul 22, 2006 1:40 pm   
 
I think the problem is the use of %1 in an alias. Always seems to only pick up one word when I use it like that. Don't know off hand yet how to get around that, but someone might.
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Sat Jul 22, 2006 3:56 pm   
 
%-1
_________________
Taz :)
Reply with quote
Storm
Newbie


Joined: 22 Jul 2006
Posts: 2

PostPosted: Sun Jul 23, 2006 2:31 am   
 
Holy Jesus, holy Jesus it worked! I could kiss you(well, maybe not that far)! Thanks Taz!
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