Search found 1154 matches
- Sat Jan 04, 2025 7:52 pm
- Forum: Howtos, FAQs and Tips & Tricks
- Topic: making a flexible alias
- Replies: 1
- Views: 100861
Re: making a flexible alias
You want to use a pattern like this. Basically, you are making a non-capturing group (the outer parentheses with the "?:" at the beginning of it), and inside that, you have an either or created by using the pipe character "|", so it will match EITHER nothing, because there are no...
- Sat Oct 05, 2024 1:43 pm
- Forum: Howtos, FAQs and Tips & Tricks
- Topic: Can someone help me with slow walk and triggers?
- Replies: 5
- Views: 75897
Re: Can someone help me with slow walk and triggers?
If you have a script, but need help using it, surely if we are to offer suggestions, we will need to see what that script is first.
- Tue Aug 20, 2024 3:46 pm
- Forum: Help Forum
- Topic: I'm a mapping failure & Map debug isn't working?
- Replies: 5
- Views: 40563
Re: I'm a mapping failure & Map debug isn't working?
Oh, I forgot, you are also going to need to escape all those square brackets, so maybe something like this:
map prompt < HP %[ %d+/%d+ %] MV %[ %d+/%d+ %] Exits: %[ %a+ %] Room: .+ >
map prompt < HP %[ %d+/%d+ %] MV %[ %d+/%d+ %] Exits: %[ %a+ %] Room: .+ >
- Mon Aug 19, 2024 5:29 pm
- Forum: Help Forum
- Topic: I'm a mapping failure & Map debug isn't working?
- Replies: 5
- Views: 40563
Re: I'm a mapping failure & Map debug isn't working?
The problem is that you are giving it the pattern you would send to the game for it to show you what you are seeing, not a Lua string pattern that matches the text the game sends back. At a glance, I'd try doing this:
map prompt < HP [ %d+/%d+ ] MV [ %d+/%d+ ] Exits: [ %a+ ] Room: .+ >
map prompt < HP [ %d+/%d+ ] MV [ %d+/%d+ ] Exits: [ %a+ ] Room: .+ >
- Sat Aug 03, 2024 5:27 pm
- Forum: Help Forum
- Topic: Transparent MiniConsole issue
- Replies: 1
- Views: 39614
Re: Transparent MiniConsole issue
Miniconsoles and transparency don't mix, sadly. You should, however, be able to set a background for your miniconsole to use. What code are you using to set the background for it?
- Tue Jun 18, 2024 8:58 pm
- Forum: Howtos, FAQs and Tips & Tricks
- Topic: Trigger Chain over 1 or 2 lines
- Replies: 1
- Views: 44554
Re: Trigger Chain over 1 or 2 lines
Try this, all as one big trigger:
perl regex: you point at (.+) and
substring: ring
substring: glows
perl regex: (\w+)\.
[X] AND / Multi-line delta | value: 1
It should capture the name of the target in multimatches[1][2] and the color the ring glowed in multimatches[4][2].
perl regex: you point at (.+) and
substring: ring
substring: glows
perl regex: (\w+)\.
[X] AND / Multi-line delta | value: 1
It should capture the name of the target in multimatches[1][2] and the color the ring glowed in multimatches[4][2].
- Mon May 20, 2024 5:39 pm
- Forum: Help Forum
- Topic: Problem when make a database for equipment
- Replies: 2
- Views: 55485
Re: Problem when make a database for equipment
So while I agree that it would be ideal to make databases work properly when using non-Latin characters for, if I'm understanding this correctly, the name of the database and its various field names, it should be possible to work around the language barrier for day to day use by creating a table wit...
- Tue Apr 30, 2024 2:01 pm
- Forum: Mudlet Mapper
- Topic: Generic Mapping Script
- Replies: 444
- Views: 1779544
Re: Generic Mapping Script
There is definitely a system in place to allow for normal special exits, which go from one fixed room to another. But since this is dynamic in terms of where it sends you, it would be a bit more complicated. I'd say you have two main options. The first is to just rely on the script's built in locati...
- Fri Apr 05, 2024 2:46 pm
- Forum: Help Forum
- Topic: MXP processing hang - unescaped ampersands
- Replies: 17
- Views: 135845
Re: Potential color handling bug in Mudlet?
So that rule and regex helps the case where someone has written a naked ampersand in the form of "You are standing at the intersection of Church St & University Road" but not in the case "You flick on the TV and see the closing credits to the Tom&Jerry show". It also doe...
- Thu Apr 04, 2024 10:36 pm
- Forum: Help Forum
- Topic: MXP processing hang - unescaped ampersands
- Replies: 17
- Views: 135845
Re: Potential color handling bug in Mudlet?
So, from what I can find about MXP [https://www.zuggsoft.com/zmud/mxp.htm], it is modeled after XML, which has the following rules regarding entity usage: Rules for using legal Entity Markup The entity must be declared in the DTD. If you are using an XML document which is not validated against a DTD...