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


Joined: 23 Feb 2011
Posts: 13

PostPosted: Mon Apr 09, 2012 7:00 pm   

Substitute with new line.
 
Hello!

I have a little problem - i have trigger:

Pattern: pozostawione przez %w i prowadza na %1.
Value: #SUB {Slady prowadza na %upper(%1)}

In zMUD it showing, for example:

text
text
Slady prowadza na POLNOC.
text
text.

I want to do something like that:

text
text
---------------------
| Slady prowadza na POLNOC.
---------------------
text
text

When i make value

#sh -----------------------------
#SUB {Slady prowadza na %upper(%1)}
#sh -----------------------------

In mud:
text
text
Slady prowadza na POLNOC.
----------------
------------------
text

How to fix it? Can you help me?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4689
Location: Pensacola, FL, USA

PostPosted: Mon Apr 09, 2012 8:50 pm   
 
Pattern: pozostawione przez %w i prowadza na %1

should be

Pattern: pozostawione przez %w i prowadza na (%w)

whatever you enclose in parenthesis inside your trigger pattern becomes %1-%99
_________________
Discord: Shalimarwildcat
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