Search found 701 matches
- Wed Apr 14, 2010 12:59 am
- Forum: Help Forum
- Topic: Help with my first simple trigger?
- Replies: 22
- Views: 13183
Re: Help with my first simple trigger?
Here's a gimme: Line: The wild antelope leaves southeast. Regex: ^(.+) leaves (\w+)\.$ matches[2] = The wild antelope matches[3] = southeast to move only if the target is the person who moved: [syntax=lua] if matches[2]:find(target) then send(matches[3]) end [/syntax] this is dependent on your targe...
- Wed Apr 14, 2010 12:46 am
- Forum: Help Forum
- Topic: luasql in mudlet
- Replies: 45
- Views: 26339
Re: luasql in mudlet
Possible, but impossible for us to know without knowing the DB structure and the exact commands you're sending.Skylark wrote:If I do that then only the last name is added to the database- or at least it's the only one I can find when I query it. Perhaps the others are being overwritten?
- Sun Apr 11, 2010 4:48 pm
- Forum: Help Forum
- Topic: Key bindings
- Replies: 8
- Views: 5841
Re: Key bindings
Thank you for your answer:) I understand that the system mudlet uses is very flexible, and I must say I'm very impressed with it's progress in so short time. I have used zmud for like 10 years and I dont expect mudlet to function exactly like it, I merely need some basic things to work out for me s...
- Sat Apr 10, 2010 11:42 pm
- Forum: Mudlet Development
- Topic: Mudlet Mapper API
- Replies: 5
- Views: 4740
Re: Mudlet Mapper API
the 3D display that is currently being implemented would simply have to have a label element implemented, and then a skinning protocol to achieve basically the same thing.
I don't see it happening, though, because that'd be a ton of work.
I don't see it happening, though, because that'd be a ton of work.
- Sat Apr 10, 2010 6:39 am
- Forum: Mudlet Development
- Topic: Possible bug: "\b" in regex triggers.
- Replies: 3
- Views: 3045
Re: Possible bug: "\b" in regex triggers.
In case anyone else was having the same problem as I was, here is my solution: [syntax=lua] target = matches[2] cecho("\n<white>Target is now: <red><underlined>"..target.."\n") if hlTarget then killTrigger(hlTarget) end hlTarget = tempRegexTrigger("\\b"..target.."\...
- Fri Apr 09, 2010 7:52 am
- Forum: Mudlet Development
- Topic: Possible bug: "\b" in regex triggers.
- Replies: 3
- Views: 3045
Re: Possible bug: "\b" in regex triggers.
It's not a bug. Your problem is that you select a substring and colorize it - not a regex pattern. You'll want to use selectCaptureGroup(n). Currently, temp triggers don't have a multimatches option. Consequently, you'll only get the first match in a line. However, you can use the return value of s...
- Fri Apr 09, 2010 5:49 am
- Forum: Mudlet Development
- Topic: Possible bug: "\b" in regex triggers.
- Replies: 3
- Views: 3045
Possible bug: "\b" in regex triggers.
First: here is the code I'm using for my set target alias [syntax=lua] hlTarget = tempRegexTrigger("\\b"..target.."\\b", [[ local c = 1 while selectString(target,c) > -1 do setFgColor(255,0,0) setItalics(true) c = c + 1 end resetFormat() ]] ) [/syntax] Basically, I want the name ...
- Fri Apr 09, 2010 4:10 am
- Forum: Mudlet Development
- Topic: Feature Request: Named Capture Buffers
- Replies: 0
- Views: 2365
Feature Request: Named Capture Buffers
It would be great if we had the (?<name>capture) function of PERL's regex.
- Thu Apr 08, 2010 3:15 am
- Forum: Help Forum
- Topic: need help creating a multiline chat log
- Replies: 4
- Views: 3337
Re: need help creating a multiline chat log
I've seen this bug frequently, with quotation marks. The end quotation mark from many lines ends up on the following line. Also, it's frequently not at the correct wrapping position when this happens (should have characters left on the line, but the quotation mark ends up on the next line).
- Thu Apr 08, 2010 2:02 am
- Forum: Mudlet Development
- Topic: Mudlet Mapper
- Replies: 139
- Views: 151152
Re: Mudlet Mapper
It's still a long ways to go. Best to recommend what you'd like now. Looks pretty good. I'd like a full 3d viewport (which I am taking as a given) with full axis camera movement (which I'm also taking as a given), and the basics like being able to define "special exits" (like having to SW...