Coder Social home page Coder Social logo

Comments (5)

LiquidityC avatar LiquidityC commented on June 22, 2024

Can you elaborate on this? You want to be able to create a trigger on a certain line with additional constraint on the color of that line?

from blightmud.

robg204 avatar robg204 commented on June 22, 2024

Basically, yes. In tintin++ this looks something like this:
#action {~\e[45m%*} { ... }

Essentially ~ at the start of a trigger processess the line raw, so that you can match on ansi and the like.

In Mudlet, this looks like just picking the a colour from a palette.

from blightmud.

LiquidityC avatar LiquidityC commented on June 22, 2024

Here’s what we can do without much hassle at all: we extend the trigger options with a parameter “raw”, if set to true the trigger will be matched on the original line and not the one with ansi escapes stripped. This will leave it up to the user to work out the correct regexp. Maybe not the easiest handling but it will work as expected.

from blightmud.

robg204 avatar robg204 commented on June 22, 2024

Here’s what we can do without much hassle at all: we extend the trigger options with a parameter “raw”, if set to true the trigger will be matched on the original line and not the one with ansi escapes stripped. This will leave it up to the user to work out the correct regexp. Maybe not the easiest handling but it will work as expected.

This would be awesome. Sorry for the bombardment by the way. Small group of us fed up with decades old tt++ bugs stumbled across your client, and it's very close to being able to replace tt++ for us (in addition to being awesome)! :)

from blightmud.

LiquidityC avatar LiquidityC commented on June 22, 2024

Happy to hear that you like it. Bombardment is fine. People tend to mud differently so there are different “must haves” for different people. These kinds of issues help me cover more bases. 😊

from blightmud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.