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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
r00t
Newbie


Joined: 09 May 2002
Posts: 0

PostPosted: Sun Apr 07, 2002 7:02 pm   

Catching Next Line of Input
 
I'm sure this has been done before, but I can't find it so I'm hoping someone will help out.

I need to capture the line of text following a trigger. For instance:

You are carrying:
(INeedToCatchTheBlamRightHere)

Any help would be appreciated
Serlin
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Apr 07, 2002 10:23 pm   
 
To capture the next line:
#TR {You are carrying:$(*)$} {#Var CapturedLine {%1})

LightBulb
All scripts untested unless otherwise noted
Reply with quote
r00t
Newbie


Joined: 09 May 2002
Posts: 0

PostPosted: Mon Apr 08, 2002 3:26 pm   
 
Thanks works perfectly
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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