|
FuSoYa Novice
Joined: 10 Feb 2007 Posts: 34 Location: Denton, TX
|
Posted: 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 |
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: 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 |
|
|
|
FuSoYa Novice
Joined: 10 Feb 2007 Posts: 34 Location: Denton, TX
|
Posted: 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 |
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: 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 |
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: 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 |
|
|
|
Azerack Beginner
Joined: 05 Nov 2007 Posts: 14
|
Posted: 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. |
|
_________________ "I'd be more enthusiastic about encouraging thinking outside the box when there's evidence of any thinking going on inside it."
- Terry Pratchett |
|
|
|
|
|