Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ General ➜ Can mushclient do this?

Can mushclient do this?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Nobody   (38 posts)  Bio
Date Tue 16 May 2006 10:01 AM (UTC)
Message
Final thing (I think). I've pretty much guessed at how to do what I want with scripting, but this is the last thing I need in order to be comfortable with this client.

I need to be able to search my history based on what I've currently typed in.

For example, consider the following sequence of commands in the history:

c 'firey death' dragon
kill elf
kill monster
kill orc
kill dragon
kill hobgoblin
c 'fiery death' Unicorn

Now, on that last command, the way I want it to behave, is for me to type in "c", press up, and only cycle through those commands that start with "c", thereby going straight to the dragon one, which I can then quickly delete and modify as I need.

I was looking into the scripting and thought I could do this with scripts, but the SetCommand won't work if something's already in the command area (which of course, I need it to be).

I'm so used to having a bunch of commands with certain letters, and I can recall them instantly by typing in the first few letters and hitting up, sort of like a cross between tab completion for commands, and a history.
Top

Posted by Cino   Australia  (17 posts)  Bio
Date Reply #1 on Tue 16 May 2006 11:07 AM (UTC)

Amended on Tue 16 May 2006 11:10 AM (UTC) by Cino

Message
You might be looking for,

Config > Input > Commands > Keyboard Preferences > Arrow Keys

which has a few options, notably Arrow Key Recalls Partial Command.
Top

Posted by Nobody   (38 posts)  Bio
Date Reply #2 on Tue 16 May 2006 01:09 PM (UTC)
Message
Splendid! I think I'm now ready to start writing all the code I need to make the client behave like how I want. I bet it takes me ages though :(
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,100 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.