Something I've always wondered about Mushclient

Posted by Noodlez on Mon 15 Mar 2010 02:19 PM — 6 posts, 21,006 views.

USA #0
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.
Australia Forum Administrator #1
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.
USA #2
That would be PERFECT.
USA #3
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.
Australia Forum Administrator #4
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.
#5
I just have the trigger make use of an alias. Don't need to worry about scripting that way.