[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Suggestions
. . -> [Subject]  Something like the highlighting trick you just added

Something like the highlighting trick you just added

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


Posted by David Berthiaume   (202 posts)  [Biography] bio
Date Sun 02 Jan 2005 08:41 AM (UTC)

Amended on Sun 02 Jan 2005 08:43 AM (UTC) by David Berthiaume

Message
Can you set it up so you can just highlight text, and then right click, and have an add trigger window pop up. Then you could add triggers almost on the fly without having to ctrl+shift+8, click add, and paste the line, and type in everything.

This way, we highlight what we want to match on, right click, add the trigger, type in the send box, click ok, and boom, all done.

(added as an after thought) Perhaps it could also do multi-line triggers... It can get confusing where to put the line break in and what not. If we just highlighted it in the output buffer, it would be fool proof.
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Reply #1 on Sun 02 Jan 2005 09:00 AM (UTC)
Message
The highlight word thing is a trigger.

Just go to the trigger dialog and update it (to not highlight, change the trigger group), and then youll have a normal blank trigger.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] top

Posted by Nick Gammon   Australia  (22,989 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Sun 02 Jan 2005 10:07 PM (UTC)
Message
Quote:

Perhaps it could also do multi-line triggers... It can get confusing where to put the line break in and what not.


You have a bit of a point there. I have added a multi-line trigger generator into the next version.

However a simple trigger generator will not handle things like loops, which you would still need to do manually. By loops I mean things like matching on an inventory that has a variable number of items.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by David Berthiaume   (202 posts)  [Biography] bio
Date Reply #3 on Sat 22 Jan 2005 08:21 AM (UTC)
Message
I like it. However, I think you can even refine it a little more.

When you highlight some text, and click highlight word, or multiline trigger, it should open a trigger creation wizard. Perhaps 2-3 steps to complete the trigger.

Starts off with what you see now, then hit next, and it lets you enter what you want in the send to box, then hit next, lets you select all the flags and what not and the send to drop-down menu, then the last one would be name, group, script and what not.
[Go to top] top

Posted by Shadowfyr   USA  (1,786 posts)  [Biography] bio
Date Reply #4 on Sat 22 Jan 2005 05:04 PM (UTC)
Message
Well. As nice as a wizard would be, it adds more code to the client. Why not just have a "Edit after creation" option on the trigger generator, then have it automatically open the full editor window for that new trigger when you click OK. That way you don't have to hunt for the new trigger to try to edit it. I tried to find one recently, but I have a rediculous number of triggers, so it took me several scans through the list to realize it got a sequence of 90 and had /bblah/b, instead of what I actually expected. Having the option to automatically pop up the edit window for the trigger would have saved me 10-15 minutes of frustration and allowed me to adjust the triggers match text and other features more easilly.
[Go to top] top

Posted by Nick Gammon   Australia  (22,989 posts)  [Biography] bio   Forum Administrator
Date Reply #5 on Tue 25 Jan 2005 02:52 AM (UTC)
Message
It is hard to do that because that window is a sub-window of the configuration tab control. Or even a sub-sub-window.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by David Berthiaume   (202 posts)  [Biography] bio
Date Reply #6 on Tue 25 Jan 2005 08:37 AM (UTC)
Message
Well, you have ctrl+shift+8 which pops open the Trigger sub-menu... I don't see that part being a problem.

Instead of opening directly to the trigger, the sub-sub-menu, what if it just highlighted the trigger you just created?

Or you could go back to the old style configuation menu style you had, I think back in like 2.15 or something... It was years ago. I remember when you changed it, I didn't like the new change... Man, that's really showing my years.
[Go to top] top

Posted by Shadowfyr   USA  (1,786 posts)  [Biography] bio
Date Reply #7 on Tue 25 Jan 2005 05:01 PM (UTC)
Message
Quote:
It is hard to do that because that window is a sub-window of the configuration tab control. Or even a sub-sub-window.


Harder than building an entire wizard? ;) But seriously, even opening the entire edit tree, as though you clicked the icon, but opening it to the new trigger would work. Your going to have a window splatted over top of the client anyway in either case, until you close the edit window.
[Go to top] 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.


23,427 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]