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


Joined: 10 Feb 2007
Posts: 34
Location: Denton, TX

PostPosted: Thu Sep 18, 2008 3:16 am   

Another Simple Question
 
Ok, I know I'm bad to post stuff like this but...

I want to make an alias that will let me turn

cast 'fireball' <target>

into

fb <target>

Where I can just type say... fb dog and it will cast the spell at the dog.

I thought I would use %1 where target is but that isn't working. Any ideas?

Brandon
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Thu Sep 18, 2008 3:36 am   
 
#ALIAS fb {c 'fireball' %params}

That's what you're looking for, and yes, it is very simple. :P

Charneus
Reply with quote
FuSoYa
Novice


Joined: 10 Feb 2007
Posts: 34
Location: Denton, TX

PostPosted: Thu Sep 18, 2008 3:38 am   
 
When I type fb me. It just returns c 'fireball' %params. So it's targeting %params not me. What did I miss?

Brandon
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Thu Sep 18, 2008 3:58 am   
 
Go to package editor, select the fb alias, look towards the bottom right. There's a box there that says "Parse arguments." Make sure that box is checked. I just tested it myself, and it works for me. The only thing I can think of if that doesn't work is that you have % changed with something else.

Charneus
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Thu Sep 18, 2008 3:58 am   
 
Actually, even having it unchecked, it still works. Not sure why it's not working for you, then.

Charneus
Reply with quote
Azerack
Beginner


Joined: 05 Nov 2007
Posts: 14

PostPosted: Sun Sep 28, 2008 10:55 pm   
 
Actually all you need is to go into the alias edit, click new, type in fb as alias, and in the big editor window type c 'fireball'
Then click on the Auto append tick box at the bottom right corner.

Correct me if I am wrong. Neutral
_________________
"I'd be more enthusiastic about encouraging thinking outside the box when there's evidence of any thinking going on inside it."

- Terry Pratchett
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