Mudlet Question?
I created a label ( https://hastebin.com/likijetede.js ), and I cannot, for the life of me, figure out how to make it pull up my target. Just says
Target: target()
Am I missing something?
Also, is there a way to temporarily highlight my target? So, if I target Paul, Paul is in red or orange font anywhere it pops up? It seems like it would be part of the target alias, but that is also beyond me, as mine currently looks like: https://hastebin.com/lehopopuqe.makefile
Thanks!
Target: target()
Am I missing something?
Also, is there a way to temporarily highlight my target? So, if I target Paul, Paul is in red or orange font anywhere it pops up? It seems like it would be part of the target alias, but that is also beyond me, as mine currently looks like: https://hastebin.com/lehopopuqe.makefile
Thanks!
0
Comments
Thanks for that!
A female tangutan has cured the effects of Frozen.
Some mobs with multiple matching words work fine for the echo go through, and some don't. Can anyone check what I should have instead for this?
That ought to work.
Although, it's easier to do:
An?
For that matter, why bother with regex at all? He's not using the capture group for anything.
has cured the effects of Frozen
As a a sub string and be done with it.
Eta: that is facetious. It is probably a good idea to not use that
+1 point for pedantry, though.
Was just being helpful with regex... quell possibly didn't know about ?:
Maybe he/she does, and it was just worded unclearly. Hard to say, and doesn't actually matter because other people are reading and someone may find it helpful...
My post shows an easier way to achieve (A|An), and a way to achieve what Quell suggested without using regex at all.
Not everyone who posts is trying to one-up the people that posted previously. A help question isn't a competition.
^.+ has cured the effects of Frozen\.$
Substring types do not engage the regex engine at all, and while they are slower to reject than 'begin of line substring' type, the regex engine deals with wildcards etc. The trigger engine rejects substring types faster than regex types.
Also, in the regex pattern being discussed, opening with:
.+
The text part is acting like a substring type anyway. All the downsides you refer to while also using the slower regex engine.