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
daemoan.vermillious
Apprentice


Joined: 28 Feb 2009
Posts: 135
Location: Chico, Ca

PostPosted: Mon Apr 04, 2011 6:05 pm   

Trigger Capture
 
I have these they all work.....
^~<~<%1 chats~>~>
^~<~<%1 chat~>~>
^~-~{%1~}~-

Value is
#capture ComChat1

This one does not work for some reason.....
^~.~x~[%1~]~x~.
Origianl PAttern: .x[Prophet]x. 'test'.


Pattern Test Passes...
but does not trigger.......

Thanx for the Help Again
Apprecieate You Letting Us PIck Your "Brains"
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4671
Location: Pensacola, FL, USA

PostPosted: Mon Apr 04, 2011 8:03 pm   
 
^.x~[%w~]x.

you should never use %1 in the pattern, it is used to recognize a section of the pattern that is surrounded by ()
%w is a word
(%w) is a word assigned to %1
_________________
Discord: Shalimarwildcat
Reply with quote
Ithilion
Wanderer


Joined: 02 Sep 2005
Posts: 85

PostPosted: Tue Apr 05, 2011 7:42 pm   
 
to explain further, %1 is a kludge from zmud, and is no longer supported in cmud
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