Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Moab
Beginner


Joined: 02 Aug 2008
Posts: 25

PostPosted: Tue Aug 09, 2011 12:37 pm   

Simple question on variables and alias
 
I would like to have an alias, let's call it "examinething" that would substitute the word after the alias and stick it into two commands value and analyze.

Idealy when I type examinething boots the mud would then get two commands value boots and analyze boots.

How do I set this up?

Thanks!
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4674
Location: Pensacola, FL, USA

PostPosted: Tue Aug 09, 2011 1:11 pm   
 
#ALIAS examineThing {
value %params
analyze %params
}
_________________
Discord: Shalimarwildcat
Reply with quote
Moab
Beginner


Joined: 02 Aug 2008
Posts: 25

PostPosted: Tue Aug 09, 2011 1:17 pm   
 
Thanks!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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