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, 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 ➜ TinyFugue style commands

TinyFugue style commands

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


Posted by Shikage   (1 post)  Bio
Date Fri 23 Apr 2010 11:20 AM (UTC)
Message
I am trying to find the best way to implement some commands I've setup within my TinyFugue client within MUSHClient.

In specific, I use CTRL-L to clear the screen and ESC-W to cycle through game windows. Unfortunately, I'm not really sure where to begin with either of these in MUSHclient.
Top

Posted by Daniel P   USA  (97 posts)  Bio
Date Reply #1 on Fri 30 Apr 2010 01:51 AM (UTC)

Amended on Fri 30 Apr 2010 01:52 AM (UTC) by Daniel P

Message
There are some built-in keyboard shortcuts to do this if you're willing to relearn them.

SHIFT-CTRL-C will clear the output window and CTRL-TAB will switch between world windows.

If you still want to stick to your old commands, take a look at Accelerators in the help files. Still, ESC can not be used as a "pre"-type key-sequence like CTRL, ALT or SHIFT, although it can be used as the ending key like CTRL+ESC.

Using world.DoCommand, you can call the following within your accelerator scripts:

world.DoCommand "ClearOutput"
world.DoCommand "World1"
world.DoCommand "World2"
world.DoCommand "World3"
world.DoCommand "World4"
...

So at least for your Clear-Output script, you could add the following line to your external script file:


Accelerator ("Ctrl+L","/DoCommand 'ClearOutput'")


However, looking at this particular one, Ctrl-L is defaulted to the 'look' macro, so you can simply edit the 'look' macro to execute an alias called ClearOut, making sure you change the Send action to "Send Now".

Then your ClearOut alias would contain:

DoCommand "ClearOutput"


Ensure that you change your Send_To to 12 or "Script."
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.


10,580 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.