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 ➜ Suggestions ➜ Suggestions

Suggestions

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


Posted by Irzadi   (7 posts)  Bio
Date Tue 10 Feb 2004 04:44 PM (UTC)
Message
1. When I want to edit an alias or a trigger, I often pressed ALT-R instead of ALT-E which deletes the trigger. So it would be great if there was an option to have a dialog box that will ask you to confirm your action whenever you try to delete a trigger or an alias.

2. Is it possible to change the way trigger-mechanism works so that the last line in the output will also be evaluated. Of course I could just press enter or wait until it scrolls up so it will get evaluated or use the one-second-timer, but unfortunately my dear achaean enemies would not let me do so, one second is just too slow.
Top

Posted by Shadowfyr   USA  (1,791 posts)  Bio
Date Reply #1 on Tue 10 Feb 2004 05:56 PM (UTC)
Message
The second suggestion may require an act of god. Nick seems reluctant to even consider trying to deal with it. There are definite issues, so I understand why, but it can be annoying at times. The problem is that if such a trigger doesn't immediately match, but another one does, then you could have things get extremely screwed up. For instance, a trigger to color your status, but a second one that colored a word like 'poison'. If that word appeared in the status and near the start of the line, then the second trigger would match, only to have the status trigger immediately erase that words color, when it finally matched and colored the line. This is likely why Nick doesn't want to do it. I still personally think that it even so, it is more useful than a problem. There are a lot of things that will completely mess up if you don't do them right and not all muds provide a convenient way to force prompts to add a newline. Likely, such prompt lines will be the *only* case it is used and you could this have a setting 'is_prompt="y"' that forced partial line matching for that case.

As for the first idea. That is an *extremely* good idea. I have accidentally 'removed' the wrong triggers several times just clicking the buttons. I wish it did warn you and ask if you are sure you want to delete it through the editor. There is also no real 'undo', so you can't even recover from it if you screw up. The only real alternative would be to have 'Remove' be a 'cut' process instead. Copy the deleted trigger(s) into the clipboard, so you can just paste them back if you screwed up. The way it is now, you are in deep trouble if you delete the wrong one.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #2 on Tue 10 Feb 2004 09:12 PM (UTC)

Amended on Tue 10 Feb 2004 09:14 PM (UTC) by Nick Gammon

Message

  1. Good idea - I'll add that to version 3.44. Do you think it should be an option, or always do it? After all, if you want to remove 20 triggers you can do them as a batch.

  2. OK - after numerous suggestions about this, I have changed it to add an option to detect partial lines with a minimum of work. A new plugin callback "OnPluginPartialLine" will be called when one of these events occurs:

    • A line fills up (eg. you hit 80 characters if that is your screen width)

    • A newline is received

    • A partial packet is received, and no more input is currently available


    The plugin is passed the current line - not just the new text -(which may or may not be "full" if condition (3) is met) - which it can then test or pass into a VB regular expression for more complex testing.

    This is intended to catch those situations where you need an immediate update (eg. a prompt line, entering a username/password when the newline is not present) on data received from the MUD.

    Note that triggers will *still* be evaluated in the usual way, at the usual time. The plugin callback just gives you the chance to get at it sooner.

    Example of using it:

    
    sub OnPluginPartialLine (sText)
      AppendToNotepad "test", sText & vbCrLf
    end sub
    


    Note that in the event of a partial line being received followed by more on the same line, the same line would be passed down twice. For example in SMAUG, I see this:


    En
    Enter your character's name, or type new:


    This is because the "En" was at the end of a packet.




- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Shadowfyr   USA  (1,791 posts)  Bio
Date Reply #3 on Wed 11 Feb 2004 12:28 AM (UTC)
Message
I would suggest that Mushclient 'always' ask. Being able to turn it off isn't a good idea imho.
Top

Posted by Irzadi   (7 posts)  Bio
Date Reply #4 on Wed 11 Feb 2004 04:34 PM (UTC)
Message
Ah, I forgot to add this one

- How about an option to override the default behaviour of F1 and F6 Macros ? F1 is the second deadliest button in my mudding history (power button being the number one), opening up help file in the heat of battle is not very healthy for your character.

And regarding your question:
Since configurability is usually a better way, I think it'd be great to have an option to enable/disable delete-confirmation rather than enforcing one behaviour.

Last but not least, way to go Nick ! Thats why I love to use MUSHclient. I better test this new plugin.

Irzadi
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #5 on Thu 12 Feb 2004 01:02 AM (UTC)
Message
You can't try the new plugin until version 3.44 is released.

I have made the "confirm on delete" an option, defaulting to on.

You now have an option to use F1, Shift+F1, Ctrl+F1, F6, Shift+F6, Ctrl+F6 as "macro" keys, rather than their default behaviour of help, and switching windows. This effectively gives you 6 more programmable keys.

These will be available in version 3.44.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Crafty Wafty   (4 posts)  Bio
Date Reply #6 on Mon 31 May 2004 06:18 AM (UTC)
Message
Help. The F1 function is still not working. the help window still popups when i press it including SHIFT+F1 as a click here for help in the mouse. I am already using the new version 3.50. i really like to use the F1 keys to add more macros in the game. i read that it's implemented on version 3.44 but it is still not working. is there an option to disable it? i already put something in the edit macros plus the 'send now' selected in the send action portion. still doesnt work. please help. thanks in advance.
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #7 on Mon 31 May 2004 06:23 AM (UTC)

Amended on Mon 31 May 2004 06:24 AM (UTC) by Flannel

Message
You need to select "F1, F6 are macros" in the General Tab of Global Preferences.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Crafty Wafty   (4 posts)  Bio
Date Reply #8 on Mon 31 May 2004 07:05 AM (UTC)
Message
Yey! thanks. hehehe. never found that global preferences
thingiee :) more to power MUSHclient!
Top

Posted by Larkin   (278 posts)  Bio
Date Reply #9 on Thu 17 Feb 2005 02:09 PM (UTC)
Message
Regarding the use of custom macros, I'm a bit disappointed that I can't make every combination of keys a macro. For example, I still haven't found a way to macro the keypad with Alt, Ctrl, or Shift (or any combination). I use the keypad a lot in zMUD, and I like having "alternate" modes for things like evading in a direction or sniping someone down the road.

Any chance that the macros capabilities will be expanded in a future version?
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #10 on Thu 17 Feb 2005 11:10 PM (UTC)

Amended on Thu 17 Feb 2005 11:12 PM (UTC) by Flannel

Message
You can infact currently do this with Accelerators.
You'll need to make a script that runs when you connect (make a script file, and in that file, put a subroutine which you call from when the Open world event is triggered (check the scripting config dialog)

More information on Accelerators (with examples):
http://www.gammon.com.au/scripts/doc.php?function=Accelerator

Or Nicks original post about them:
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4899

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
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.


32,867 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.