Search found 3 matches

by chazz
Thu Jun 02, 2022 6:09 am
Forum: Help Forum
Topic: tempLineTrigger help
Replies: 5
Views: 4618

Re: tempLineTrigger help

I'm not sure tempLineTriggers have an expire after, though I see one listed in the docs. It doesn't make sense in this case, as it's literally a trigger whose only purpose is to fire on lines X through Y. It already self-expires, unlike other temp* trigger types which did not ship with expireAfter ...
by chazz
Wed Jun 01, 2022 10:02 pm
Forum: Help Forum
Topic: tempLineTrigger help
Replies: 5
Views: 4618

Re: tempLineTrigger help

It seems to be working for me. tempLineTrigger.png the longer first line is line 0, it fires on lines 1-3 (the next 3 lines), and then does not on line 4. Thanks for the reply. In your example, what happens when you call enableTrigger(tg) after it has fired? Where did the trigger go? :cry: Try usin...
by chazz
Fri May 27, 2022 8:59 pm
Forum: Help Forum
Topic: tempLineTrigger help
Replies: 5
Views: 4618

tempLineTrigger help

Hello, tempLineTrigger appears to fire once and then disables itself. For example tmp_trig = tempLineTrigger(1, 3, function() print(" trigger matched!") end) After the trigger fires, it will no longer trigger and disableTrigger(tmp_trig)/enableTrigger(tmp_trig) both return false - even tho...