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


Joined: 08 Oct 2002
Posts: 34

PostPosted: Sat Nov 01, 2003 1:33 am   

Mumble Alias
 
#alias mumble {emote mumbles to herself, '%1'}

Using:
mumble Time to go to bed

Gives me:
Karthetn mumbles to herself, 'Time' to go to bed

Needless to say, what I want is:
Karthetn mumbles to herself, 'Time to go to bed'

What am I doing wrong?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat Nov 01, 2003 2:54 am   
 
%1 is the first parameter to the alias, which is usually the first word. You want %-1, which includes %1 and all the text following it, or in other words all the text following the alias.
#AL mumble {emote mumbles to herself, '%-1'}
Reply with quote
Aekisu
Novice


Joined: 08 Oct 2002
Posts: 34

PostPosted: Sat Nov 01, 2003 9:31 am   
 
Thanks LightBulb. Good grief. Where is all this information located? I can never find it.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat Nov 01, 2003 3:00 pm   
 
This information (%-1) is located in the topic #ALIAS. It only applies to aliases, as far as I know, so it wasn't included in the Pattern Matching topic which applies mainly to trigger patterns.
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