Quick question

I can't seem to get Mudlet to accept my trigger to highlight my target in lines, like basically making their name orange or bright red in their attacks and such so that it is easier to track them.

Anyone got the script line?

Comments

  • edited December 2014
    From memory...

    Pattern: ^t (.+)$
    Code:
       target = matches[2]:title()

       cecho("\n<white>[<red>Target<white>]: <green>set target to: <red>"..target)
       if target_upper then killTrigger(target_upper) end

       target_upper = tempTrigger(target, [[selectString("]]..target..[[",1) fg("red") deselect() resetFormat()]])


       if target_lower then killTrigger(target_lower) end

       target_lower = tempTrigger(target:lower(), [[selectString("]]..target:lower()..[[",1) fg("red") deselect() resetFormat()]])


    image
Sign In or Register to comment.