About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 
:
Search found 11 matches for:
Page 1 of 1
Author Message
  Topic: RegEx named capturing group in Trigger Patterns
stormbarrier

Replies: 13
Views: 22179

PostForum: CMUD General Discussion   Posted: Mon Aug 06, 2012 3:02 pm   Subject: RegEx named capturing group in Trigger Patterns
Thanks Taz. I don't have any trouble doing this in zscript, but the point of the thread was to see if RegEx supports the named capture groups, not translating it to zscript. I was hoping it would so t ...
  Topic: RegEx named capturing group in Trigger Patterns
stormbarrier

Replies: 13
Views: 22179

PostForum: CMUD General Discussion   Posted: Fri Aug 03, 2012 10:06 pm   Subject: RegEx named capturing group in Trigger Patterns
or have I got the wrong end of the stick?

You've got the Zscript end of the stick. My question was in reference to the RegEx end. But I appreciate everyone taking a look at this.
  Topic: RegEx named capturing group in Trigger Patterns
stormbarrier

Replies: 13
Views: 22179

PostForum: CMUD General Discussion   Posted: Thu Aug 02, 2012 9:05 pm   Subject: RegEx named capturing group in Trigger Patterns
OK. I played around with this a bit and realized what it is doing. %param(<type anything or nothing here>) is simply concatenating all of the capture groups and returning that string. For this p ...
  Topic: RegEx named capturing group in Trigger Patterns
stormbarrier

Replies: 13
Views: 22179

PostForum: CMUD General Discussion   Posted: Thu Aug 02, 2012 4:54 pm   Subject: RegEx named capturing group in Trigger Patterns
Good thought - but that didn't work. That is just returning the entire line, which is the same as using %param(). Any other thoughts?
  Topic: RegEx named capturing group in Trigger Patterns
stormbarrier

Replies: 13
Views: 22179

PostForum: CMUD General Discussion   Posted: Thu Aug 02, 2012 4:38 pm   Subject: RegEx named capturing group in Trigger Patterns
Does anyone know if there is a way to refer to a named capturing group from a trigger pattern?

For example:^\[Exits: (?<dirs>.+) \]

cMUD seems to recognize the syntax f ...
  Topic: Mapper: Almost all commands appear in direction queue
stormbarrier

Replies: 13
Views: 14949

PostForum: CMUD General Discussion   Posted: Tue Jul 10, 2012 1:18 am   Subject: Mapper: Almost all commands appear in direction queue
I had reconfigured the mapper after making those tag triggers, but still saw this issue.

Matt's trigger did inspire me to create something a little bit different to filter out some false positives ...
  Topic: Mapper: Almost all commands appear in direction queue
stormbarrier

Replies: 13
Views: 14949

PostForum: CMUD General Discussion   Posted: Mon Jul 09, 2012 9:08 pm   Subject: Mapper: Almost all commands appear in direction queue
Ok. That makes sense. I'm not worried that they go into the queue, I just assumed that was causing the issue where the mapper doesn't follow me.

The most recent stuff I created were the two #TAG's ...
  Topic: Mapper: Almost all commands appear in direction queue
stormbarrier

Replies: 13
Views: 14949

PostForum: CMUD General Discussion   Posted: Mon Jul 09, 2012 5:31 pm   Subject: Mapper: Almost all commands appear in direction queue
Most of the time it really doesn't matter what other commands end up in the queue. Are you actually having problems with miscreated rooms or having your location change inaccurately, or are you just ...
  Topic: Mapper: Almost all commands appear in direction queue
stormbarrier

Replies: 13
Views: 14949

PostForum: CMUD General Discussion   Posted: Mon Jul 09, 2012 4:12 pm   Subject: Mapper: Almost all commands appear in direction queue
Good call, shalimar. I'll toss that in for good measure. I still feel like I'm missing something easy/obvious to keep this mapper in line.
  Topic: Mapper: Almost all commands appear in direction queue
stormbarrier

Replies: 13
Views: 14949

PostForum: CMUD General Discussion   Posted: Mon Jul 09, 2012 2:19 pm   Subject: Mapper: Almost all commands appear in direction queue
I could care less what actually appears in the queue, I just don't recall that being the case before and now the mapper gets hung up. I walk into the room that I listed in the example (and other rooms ...
  Topic: Mapper: Almost all commands appear in direction queue
stormbarrier

Replies: 13
Views: 14949

PostForum: CMUD General Discussion   Posted: Mon Jul 09, 2012 3:02 am   Subject: Mapper: Almost all commands appear in direction queue
I have a problem where most of the text that I type through the command input gets inserted into the direction queue. I can traverse properly using the keypad and the mapper will (for the most part) c ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net