• 0

    posted a message on Real Time Translation Mod! Break the language barrier!

    I feel like I am the other side of the spectrum from others in this thread, I find that the translation are picking up MORE then what I would want. Is there a way to add an 'ignore' condition through the regex?
    I need to pick up both "[\w+] %name%:" and "%name%:" but not "[D] name:" or "Owner:"

    Sorry if this is real easy but I've done the tutorial and can't seam to find anything on it :C

    Update: I have found a work around for the first part (square brackets but not [D]) with "(\[\w{2,}\].%name%\:)" because no titles should be one letter long, but matching the second one is proving more difficult.

    Update2: had a breakthrough with the negative look-ahead and found that "((^(?!Owner)(%name%))\:)" is what I was looking for, and that the full command I originally was asking for would have been "(\[\w{2,}\].\w+\:)|((^(?!Owner)(\w+))\:)" but its better to keep them separate because you can only choose one sender per regex. I have learned a lot over this week and hope to one day actually apply them to something.

    And to Ringowhs, thanks for the great mod.

    Posted in: Minecraft Mods
  • To post a comment, please .