When you create a trigger, you're given multiple inputs for line patterns. They're numbered from 0 to 49. I absolutly love this grouping method, but I'd like a bit more functionality out of it.
Specifically, I'd like to be able to tell WHICH of the patterns triggered, without needing to do a match against the line variable.
It could be stored in the matches table, using a string rather than a number so there is less confusion. As in: matches["pattern"] returns 3
Feature Request: Determine which line of a trigger was caugh
Re: Feature Request: Determine which line of a trigger was caugh
Yeah, I agree - talked with heiko before over this as well. For the default or triggers, knowing which pattern matched can be real useful at times for grouping purposes (don't want to create many triggers that share the same logic and split it over functions and etc.)
Re: Feature Request: Determine which line of a trigger was caugh
I agree very much as well.
Re: Feature Request: Determine which line of a trigger was caugh
I put this on my todo list.
Re: Feature Request: Determine which line of a trigger was caugh
excellentHeiko wrote:I put this on my todo list.