Page 1 of 1

Command box enhancements

Posted: Fri Sep 19, 2003 8:07 am
by EmperorBMA
First, string aliases.

Now I realize that we have keybindings, and those are great for commands you can always sum up in the same phrase (e.g. cast burning hands), but what I am talking about is creating string aliases for a string.

For example, say I want to set up "use_skill" as a simpler type-in, and I wanted to make an alias to it called "use". I would have a command alias <use_skill> to <use>. The next time I wanted to use bowyery, I type "use boyery" and it runs the use_skill command.


Second, up arrow command history.

I also propose that instead of typing a command over again, we keep a list of the 10 most recent entries and when you push the up/down arrows when on the command text box, it would traverse the command history. That saves typing "use_skill bowyery" on one turn, then after killing another orc (with a spell), having to re-type the same command in again.

YAFFTP.

Re: Command box enhancements

Posted: Fri Sep 19, 2003 5:07 pm
by Leaf
EmperorBMA wrote: I also propose that instead of typing a command over again, we keep a list of the 10 most recent entries and when you push the up/down arrows when on the command text box, it would traverse the command history. That saves typing "use_skill bowyery" on one turn, then after killing another orc (with a spell), having to re-type the same command in again.
Keep in mind, arrow keys are pre-bound to act as movement keys right now.

Not very difficult to remove that function, just need to make players aware of it...

Re: Command box enhancements

Posted: Fri Sep 19, 2003 9:49 pm
by hoxu
EmperorBMA wrote:I also propose that instead of typing a command over again, we keep a list of the 10 most recent entries and when you push the up/down arrows when on the command text box, it would traverse the command history. That saves typing "use_skill bowyery" on one turn, then after killing another orc (with a spell), having to re-type the same command in again.
I wish we will see this feature in the SDL client.
EmperorBMA wrote:YAFFTP.
YAFA? This one I haven't heard before. Care to explain?

Re: Command box enhancements

Posted: Fri Sep 19, 2003 10:17 pm
by EmperorBMA
leaf wrote: Keep in mind, arrow keys are pre-bound to act as movement keys right now.

Not very difficult to remove that function, just need to make players aware of it...
I mean only when typing in the box where we actually type commands, not the main screen.

Basically '<up arrow>

IOW, it shouldn't affect arrows as movement keys.


YAFFTP - Yet another food for thought post.

Re: Command box enhancements

Posted: Sat Sep 20, 2003 7:16 am
by Ryo
leaf wrote:Keep in mind, arrow keys are pre-bound to act as movement keys right now.

Not very difficult to remove that function, just need to make players aware of it...
Hum, indeed bound as movement, except when you are in the command box they don't work... (at least under windows gtk client).
So when in command box, no reason to not use'em for history.