|
Tygerhart Novice
Joined: 04 Oct 2001 Posts: 43 Location: Canada
|
Posted: Thu Feb 05, 2004 12:30 pm
Buttons and Original alias values... |
Hi all!
I love this place. Everybody knows waaaay more than me.
I've got a question about Buttons and alias'.
Here's what I want to do. I want to make an alias that will make space combat a little easer for me. For instance... I've made an alias for evade <object>, so now it's "e <object>. Of course you can probably see the problem now. "e" is also the alias for "east".
So thinking I could fix it by making a button to turn it on when I'm at the helm and off when I was out exploring... I made a toggle button and attached this alias to it...
ALIAS e
VALUE (@helmbut) {evade %1}
But now it not only shuts of the alias, but it won't let e go back to it's original value. (If I manually turn parsing off it will go back to it's original value... i think the answer is there somewhere, but it elludes me).
Any suggestions would be greatly appreciated.
Thanks once again in advance,
Tygerhart |
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Thu Feb 05, 2004 3:03 pm |
Good start, it just went awriy
There are several ways to do this
1)#alias e {evade %1}
put this into your toggle button:
on: #t+ e off: #t- e
2)#alias ev {evade %1}
which will skip the need for a toggle switch.
theres more but you get the idea. |
|
|
|
Tygerhart Novice
Joined: 04 Oct 2001 Posts: 43 Location: Canada
|
Posted: Thu Feb 05, 2004 3:30 pm |
quote: Originally posted by megamog75
Good start, it just went awriy
There are several ways to do this
1)#alias e {evade %1}
put this into your toggle button:
on: #t+ e off: #t- e
Thanks!
Works like a charm! [8D]
Tygerhart |
|
|
|
|
|