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


Joined: 29 Dec 2004
Posts: 1

PostPosted: Wed Dec 29, 2004 7:36 pm   

Word Wrap problem
 
Now I'm pretty sure this hasn't been aswered - I spent some time reading posts.

I have a trigger which is being messed up by the newline generated by Word Wrap.

The Word wrap is zMud's own wrap, not the MUDs as when I turn zMuds wrapping off, the line heads out to the edge of infinity and the trigger fires.

Now it seems to me that having the zMUD wordwrap begger up the triggers is just a little silly so there HAS to be a way of stopping it happening. I have no idea what the next line is going to be as it changes every time, so a static multi-line trigger won't work.

This is the text I'm trying to capture and interpret, it's from DiscWorld MUD:

Code:
Your purse contains 316 Genuan cents, 11 Genuan forins, 32 Genuan livres, 22 Agatean Empire rhinu, 5 Agatean Empire half-rhinu, 25 Agatean Empire saveloy-rhinu and 2 Agatean Empire quarter-rhinu.


One of the patterns:

Code:
(%d) Agatean Empire saveloy-rhinu


You get the idea.

When I copy and paste from the mud - like I did here - THERE IS NO NEW LINE! (I just noticed this)

Why oh why won't my trigger fire?
Reply with quote
Hibio
Beginner


Joined: 19 Mar 2004
Posts: 22

PostPosted: Wed Dec 29, 2004 9:00 pm   
 
Look at the 2 quotes... the pattern doesn't match

hmmm try pattern

(%d) Agatean Empire saveloy~-rhinu
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