Comments (5)
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.
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.
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.
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.
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)
- plugins require master or main branch HOT 1
- Blightmud sometimes crashes when scrolling through the buffer and lots of new text is coming in HOT 2
- Plugins silently conflict on same-named source files
- Setting to hide_bottombar (status_area) HOT 1
- Offset with the scrolling split when hide_topbar is enabled.
- Failing to start up in mac osx big sur 11.7.4 HOT 12
- TTYPE is triggering a TTS warning when blightmud is compiled without TTS
- Blightmud immediately disconnecting when connecting to TLS mud HOT 17
- hunspell-rs dependency fails to link on MacOS HOT 11
- Replace or remove actions-rs dependency in rust.yml CI action HOT 1
- Remove `lua_` prefix from helpfiles that have it.
- Add more error context to panic handler message
- crash: Inappropriate ioctl for device HOT 9
- The settings helpfile is missing/messed up
- Plugins in Rust HOT 2
- Duplicate or missing triggers when loading scripts HOT 3
- Question on scripting. HOT 8
- Pass more context into mud.on_connect callback HOT 1
- Extend Nix flake with module for configuration management HOT 2
- Crashes on a Tektronix 4010 emulator (tek4010) HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blightmud.