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
neiled
Newbie


Joined: 02 Jul 2003
Posts: 1
Location: United Kingdom

PostPosted: Wed Jul 02, 2003 12:26 am   

Mapper, check for exits after keyword
 
Hi there,
I am currently having a few problems trying to get the automapper to work
correctly. It seems to pick directions from the entire line that the
keyword is on rather then after the keyword. For example:

Some room:
Blah blah Blah Blah Blah Blah Blah
Blah Blah Blah Blah Blah Blah Blah
to the West. You see exits leading north,
south and up.

Here the automapper will recognise west as a direction.

There are two ways to distinguish the real exits:
*they are in blue
*they are AFTER the "You see*exit?" pattern.

Is there any way to check for this? Oh mighty guru's :)

Thanks for reading.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Wed Jul 02, 2003 3:27 am   
 
heh, ZMud can literally do anything you desire related to parsing text and acting upon the results. It may not be the best way and the doing might be light-years beyond your understanding, but it's possible.

As for what you want, look into the use of #TAG:

#trigger {You see exits leading (*).} {#TAG exit}
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