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


Joined: 13 Jul 2003
Posts: 48
Location: Estonia

PostPosted: Sun Feb 15, 2004 9:48 pm   

how to add something into line?
 
I have right now such triggers.

#TRIGGER {the sky is stormy and covered with flashes of lightning!} {#sub {%ansi(green,bold)the sky is stormy and covered with flashes of lightning! ~(+)}} "" {case}
#TRIGGER {the sky is rainy,} {#sub {%ansi(green)the sky is rainy ~(1),}} "" {case}

but I know that there should be some other way to make it much better. I mean afterall I use SUB to just add (+) or (1) into the line. I could also use

#TRIGGER {the sky is rainy(,)} {#cw green,bold;#psub "~(1)," %x1} "" {case}

or something, but is there any other way to insert some additinal stuff into line instead of SUB or PSUB?
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Mon Feb 16, 2004 1:26 pm   
 
No, you use #SUB and #PSUB for this.
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