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.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Question about logging commands/Command history/omitting commands

Question about logging commands/Command history/omitting commands

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


Posted by Tigers12   (10 posts)  Bio
Date Tue 20 Apr 2010 09:13 PM (UTC)

Amended on Tue 20 Apr 2010 09:16 PM (UTC) by Tigers12

Message
My goal is simple, but I am having trouble achieving it.

I want to create an editable log of commands that I sent to the MUD. I would also like to omit/muffle specific commands that I send to the MUD from the file.

I have been using a standard log file, and unchecking log output, while checking log commands. Everything is fine there, I just can't seem to find a clear way to omit certain commands from the log. Triggers have the ability to omit things from logs, but can they match on commands instead of MUD output?

If anyone knows a way to log a long string of commands (only) while leaving out a few selected (by me) commands, I would appreciate a response.

Thanks in advance.

Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 20 Apr 2010 10:28 PM (UTC)
Message
Aliases match on what you type. Make an alias to match what you want to omit from the log, check the "omit from log" flag, and then send %0 (whatever it was you typed) to the MUD.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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,348 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.