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
Dyron
Apprentice


Joined: 08 Apr 2004
Posts: 103
Location: USA

PostPosted: Sun Dec 17, 2006 9:07 pm   

Gagging a certain part of a line.
 
This room is mineable. There are 3 goblins in this room.
This room is mineable. A goblin is present.

I want to gag "THis room is mineable." and that's it.
The second part is two examples of what's after it sometimes.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Dec 17, 2006 9:50 pm   
 
Couple ways to do it:

#trigger {This room is mineable.%s} {#sub ""} // this one works like #CW
#trigger {(This room is mineable.%s)*} {#psub "" %x1} // works more like #PCOL
_________________
EDIT: I didn't like my old signature
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