markdwags / Razor

Razor is a free tool designed to help with simple tasks while playing Ultima Online.
https://www.razorce.com
GNU General Public License v3.0
139 stars 97 forks source link

[FEATURE] Regex search on sysmsg for display overhead msg. #206

Open mvamorim opened 1 year ago

mvamorim commented 1 year ago

Is your feature request related to a problem? Please describe. Not necessarilly. My problem is that some sysmsgs have important and variable information that I would want to repeat on an overhead msg. An example of this would be the tracking distance on UO Outlands, where the distance number position can vary based on the person's name spaces, so using {wordNum} is not always reliable. Exemple of sysmsg: "Now tracking: John Doe [10 space to target]" and "Now tracking: Joe [10 space to target]" On the first exemple the number "10" is on {5} and on the second is on {4}. So its not possible to create an overhead with the number reliably.

Describe the solution you'd like An option to do a regex filter and show only what matches.

Describe alternatives you've considered All the above on the request.

Additional context None.

Thanks for all the work.

markdwags commented 1 year ago

I admit, the functionality you described does break when you're dealing with "John Doe" vs "John" -- my concern is that Regex isn't very accessible to most players.

Let me play around with a few other concepts and see if I can come up with something that would solve the issue.