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
Corleidum
Novice


Joined: 30 Apr 2003
Posts: 43
Location: Sweden

PostPosted: Tue Feb 17, 2004 9:09 pm   

Newline..
 
I have this trigger:

Level 19 wizard, 4d 13h 46m 4s old.

Now I want to make a SUB on that. this is how I did:

Pattern: Level (%d) wizard, (%d)(%w) (%d)(%w) (%d)(%w) (%d)(%w) old.
Value:
#SUBSTITUTE {You are level %1 wizard.%cr Age: %2%3 %4%5 %6%7}

My problem is that the newline is like this:

You are level bla bla
Age...<-- see it's not exactly under the "You are level thingy"
But there is a space between.. I tried to make

You are level %1 wizard,%crAge: but that doesn't work.. How can I remove the space? anyone?
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Wed Feb 18, 2004 1:22 am   
 
Ok after rereading your post SEVERAL times I think I found your problem

change wizard.%cr AGE: TOO wizard.<%cr>Age:

And I would recomend redoing the trigger to speed it up

#TRIGGER {^Level (%d) wizard, (%d)d (%d)h (%d)m (%d)s old.$} {#SUB {You are level %1 wizard.<%cr>Age: %2d %3h %4m %5s old.}}
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