Highlighting target prompts in mudlet

Is their a way to highlight when a target puts up rebounding and only the target (dont want anyone else highlighted)

Comments

  • Trigger on:
    ^You suddenly perceive the vague outline of an aura of rebounding around (\w+)\.$


    Script is:
    if string.lower("" .. matches[2] .. "") == string.lower("" .. Target .. "") then

    <<put your highlight script here>>

    end


  • Thanks alot Lerad!
  • NeosNeos The Subtle Griefer
    can change string.lower("" .. matches[2] .. "") to just string.lower(matches[2]) or even just matches[2]:lower()
    Love gaming? Love gaming stuff? Sign up for Lootcrate and get awesome gaming items. Accompanying video.

     Signature!


    Celina said:
    You can't really same the same, can you?
    Zvoltz said:
    "The Panthron"
  • It seems to be highlighting everyone's name that is putting up rebounding and not just the target.
  • NeosNeos The Subtle Griefer
    check the error console(exclamation point button)
    Love gaming? Love gaming stuff? Sign up for Lootcrate and get awesome gaming items. Accompanying video.

     Signature!


    Celina said:
    You can't really same the same, can you?
    Zvoltz said:
    "The Panthron"
  • Just a few million of these
    value)>
    [ERROR:] object:<Reboundings> function:<Trigger2658>
             <[string "function Trigger2658()..."]:2: attempt to concatenate global 'Target' (a nil
    value)>

    So I imagine its looking for the word target, rather than picking my targets name off the table?
  • Lerad said:
    Trigger on:
    ^You suddenly perceive the vague outline of an aura of rebounding around (\w+)\.$


    Script is:
    if string.lower("" .. matches[2] .. "") == string.lower("" .. Target .. "") then

    <<put your highlight script here>>

    end

    This is assuming your target variable is in fact named "Target".  If you use a different variable, you'll want to use that instead.
  • this is for targetting

    target = matches[2]

    target = string.title(target)

    cecho("\nTarget is: " .. target .. ".\n")


    and


    this is the script I used for rebounding


    if string.lower(matches[2]) == string.lower("" .. target .. "") then

    cecho("/nTARGET IS REBOUNDING./n")

    end

  • NeosNeos The Subtle Griefer
    if matches[2]:lower() == target:lower() then

    OR

    if matches[2]:title() == target then

    OR

    if matches[2] == target:lower() then

    BUT do check the error view for any continued errors. Also, it seems from the error you have Target, not target. Lua is case-sensitive.
    Love gaming? Love gaming stuff? Sign up for Lootcrate and get awesome gaming items. Accompanying video.

     Signature!


    Celina said:
    You can't really same the same, can you?
    Zvoltz said:
    "The Panthron"
  • Thanks alot, Neos. I'll give that a crack
  • ShaddusShaddus , the Leper Messiah Outside your window.
    You suddenly perceive the vague outline of an aura of rebounding around <person>./nTARGET IS 
    REBOUNDING./n
    Everiine said: The reason population is low isn't because there are too many orgs. It's because so many facets of the game are outright broken and protected by those who benefit from it being that way. An overabundance of gimmicks (including game-breaking ones), artifacts that destroy any concept of balance, blatant pay-to-win features, and an obsession with convenience that makes few things actually worthwhile all contribute to the game's sad decline.
Sign In or Register to comment.