Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Sat Jan 06, 2007 8:46 am   

Ansi Triggers
 
Does CMUD support matching ansi in patterns? I can't seem to get any of my ansi triggers to work at all in CMUD.

If so, someone have an example?

I need to match just the name and the location of something like this:

Billy Bob, The Silly Slob ((house) The Log Cabin)

Where "Bob" is the actual name and not Billy and colored in cyan from the MUD.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sat Jan 06, 2007 2:29 pm   
 
There's another thread about ANSI triggers I just replied in where the person had no problem matching.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Sat Jan 06, 2007 8:55 pm   
 
Fang Xianfu wrote:
There's another thread about ANSI triggers I just replied in where the person had no problem matching.


Well mind telling me the Subject or point me to it? There are hundreds of threads on here. Thanks.
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Sun Jan 07, 2007 3:50 am   
 
Probably this one, from a search of posts in the last day by Fang
http://forums.zuggsoft.com/phpbb/viewtopic.php?p=104267#104267
Reply with quote
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Sun Jan 07, 2007 10:37 am   
 
They still don't work in triggers.
Reply with quote
chris-74269
Magician


Joined: 23 Nov 2004
Posts: 364

PostPosted: Sun Jan 07, 2007 3:27 pm   
 
my ansi triggers i had in zmud also didn't port over right to cmud. for example %e[1;31m(*) works great in zmud, but not in cmud
Reply with quote
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Tue Feb 13, 2007 2:34 am   
 
Would someone mind giving a working example? No matter what I do I cannot get these to work in CMUD.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Feb 13, 2007 8:49 pm   
 
I'm not sure how anyone would be able to make this work since this is a known bug in CMUD. The %e in the pattern is not expanded, so it's not getting the escape character code into the pattern string.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Feb 13, 2007 10:14 pm   
 
Btw, this is now fixed for the next version.
Reply with quote
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Tue Feb 13, 2007 11:18 pm   
 
Razz guess that might explain it then! heh
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Wed Feb 14, 2007 2:10 am   
 
Zugg wrote:
I'm not sure how anyone would be able to make this work since this is a known bug in CMUD. The %e in the pattern is not expanded, so it's not getting the escape character code into the pattern string.

By not using %e:

NiTok wrote:
Pattern:
[1;33m(%1)[0m~.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net