Disable alias when client/tab is not in focus

Posted by Kahenraz on Sat 23 Jan 2016 01:33 PM — 2 posts, 12,600 views.

#0
It would be nice to have an option to have a trigger not fire if the client/tab is not in focus. For example, minimizing the client to afk or switching to another mud when resting.
Australia Forum Administrator #1
Check out the scripting configuration. You can put a function name there, to be called on lost focus / gained focus. Those functions could enable or disable triggers/aliases in a group (or all of them, if you cycle through them all). Or just turn trigger matching on/off. eg,


SetOption ("enable_triggers", true)  -- or false