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
shalimar
GURU


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

PostPosted: Thu Sep 11, 2014 8:50 pm   

#CAPTURE issue
 
Seems a friend of mine is having trouble using a script that works for me, and im not sure what the difference is.

Its a multistate trigger

#TR {ooc tell} {#CAP Tells}
#COND {^(%w)} {#IF (%1=(%lower(%1)) {#CAP Tells;#STATE 1}}

I think the issue is when the condition is not met.
Is there a way to force it to recheck the line against state 0 once it fails the state 1 pattern?
_________________
Discord: Shalimarwildcat
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Sep 11, 2014 11:33 pm   
 
Use Within Lines|param=1 instead of Pattern.
_________________
EDIT: I didn't like my old signature
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