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
Draeger
Beginner


Joined: 14 Aug 2004
Posts: 10

PostPosted: Sat Nov 06, 2004 10:20 pm   

Capturing lines under other lines
 
North (Water):
A huge amorphous creature of water radiates deadly power.
East:
You see no one here.
South:
A tightly packed core of gale-force winds destroys
West:
(Black Aura) A stone golem of epic proportions picks his
(Black Aura) A wicked-looking rock devil whips its spiked
Up:
(Black Aura) Intent on exterminating unwanted pests, a huge

How do you caputre the lines under the North*:....Up: and put them in the variable north ie West: would put golem and devil into West....and so on and so forth
Reply with quote
zirin
Newbie


Joined: 27 May 2004
Posts: 4
Location: USA

PostPosted: Sun Nov 07, 2004 12:37 am   
 
trigger North (Water):

to match for (%w*) pattern during the next 1 line.
the triggers action should be something like

#var North *

which would put everything in the variable North for you. Except for the period. I didnt want to match a period cause i noticed that not all of the lines had a period in them.
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