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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sun Jan 10, 2010 12:51 am   

[3.12] Multistate trigger type idea
 
A "loop until blank line" trigger type which will just keep the trigger state active until a blank line is received and the trigger state moves forward. As an added bonus this would make multi-line chat captures a lot more easier and user friendly for some muds.
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Jan 10, 2010 2:06 am   
 
Have you checked out the Manual state? * happens to also match a blank line, so all you would need to do is a simple #IF.

#IF (%1 = "") {
//multiline thingamajigger's done
#state triggerid 0
} {
stuff to handle %1 until multiline's done
}
_________________
EDIT: I didn't like my old signature
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sun Jan 10, 2010 3:19 am   
 
That is an option but not the way I want to handle it because I don't want to match everything. so right now my only choice is to create a temporary trigger that changes the state.
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
GeneralStonewall
Magician


Joined: 02 Feb 2004
Posts: 364
Location: USA

PostPosted: Sun Jan 10, 2010 8:20 am   
 
Wouldn't ^$ and a manual state do it?
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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