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 ➜ Something I've always wondered about Mushclient

Something I've always wondered about Mushclient

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


Posted by Noodlez   USA  (11 posts)  Bio
Date Mon 15 Mar 2010 02:19 PM (UTC)
Message
I've always wondered why you don't have the option to edit more than one trigger at a time, even if only for the simple application of highlighting 3 or 4 triggers, and enabling/disabling them all at once, instead of having to open each one separately and do so.

I understand there may be another way of doing this with scripts or something, but this just seems much, much easier to implement, and to understand.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Mon 15 Mar 2010 08:14 PM (UTC)
Message
I'm not totally convinced it is easier to understand, because if you select three triggers, then the "match" and "send" text at least would need to be grayed out because they are all different.

You can make trigger groups, if you need to enable or disable a lot at once.

Perhaps a good idea would be an Enable and Disable button the trigger list, then you could just select multiple ones (which you can now) and enable or disable them all at once.

- Nick Gammon

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

Posted by Noodlez   USA  (11 posts)  Bio
Date Reply #2 on Tue 16 Mar 2010 02:19 AM (UTC)
Message
That would be PERFECT.
Top

Posted by Noodlez   USA  (11 posts)  Bio
Date Reply #3 on Thu 08 Apr 2010 11:34 AM (UTC)
Message
Also, you said the trigger and send boxes would need to be greyed out. But perhaps you'd want several triggers to send the same thing, it would be helpful. Something I thought of while making triggers to spam scroll making today.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #4 on Thu 08 Apr 2010 09:22 PM (UTC)
Message
The easiest way to achieve that is to use the "script" box and put in a script function name (leaving the Send box blank). Multiple triggers can all call the same script function.

Then in your script file put in, in one place, what you want to do. eg.


function make_scroll (name, line, wildcards)
  Send "scroll make"
end -- make_scroll


Now if you ever want to send something else just change in one place.

- Nick Gammon

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

Posted by Akai Alonkai   (4 posts)  Bio
Date Reply #5 on Sun 11 Apr 2010 04:55 AM (UTC)
Message
I just have the trigger make use of an alias. Don't need to worry about scripting that way.
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.


19,975 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.