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


Joined: 31 Jan 2006
Posts: 106
Location: Virginia Beach, Virginia

PostPosted: Sat Apr 29, 2006 7:25 am   

#gag
 
is it possible to make gage not do this...


You have recovered balance.
H:206 M:158 <eb>
H:206 M:158 <eb>
H:206 M:158 <eb>
H:206 M:158 <eb>

I really hate how that looks
Reply with quote
shalimar
GURU


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

PostPosted: Sat Apr 29, 2006 8:38 am   
 
#TRIGGER {^H~:&hp M~:&mana ~<eb>} {#GAG} "" {prompt}
_________________
Discord: Shalimarwildcat
Reply with quote
Strakc
Apprentice


Joined: 31 Jan 2006
Posts: 106
Location: Virginia Beach, Virginia

PostPosted: Sat Apr 29, 2006 5:42 pm   
 
why I gods green earth, would i want to gag my prompt? that defeats the purpose
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Sat Apr 29, 2006 6:51 pm   
 
This is the outcome of having gags remove information that would otherwise have been between your prompts. #GAG has the option to remove lines before or after the line that was gagged. This could in effect remove some of the unwanted prompt output but there can be issues with this. If other information is received at the same time as what you are gagging like say for instance someone coming or going from the room you will gag that instead of the superfluous prompt.

I'm really keeping my fingers crossed for the "sticky prompt" feature in CMUD, hopefully it will make it in.
_________________
Taz :)
Reply with quote
Arcane_of_Discworld
Wanderer


Joined: 29 Jan 2002
Posts: 99
Location: UK

PostPosted: Sat Apr 29, 2006 6:53 pm   
 
You asked for it to be gagged unless the title of this thread was totally misleading.. if you don't want it gagged then what do you want done .. perhaps if you explained the entire thing instead of partially..

Please provide unaltered output from the mud you play and also state clearly what you want it to look like instead.
Reply with quote
ZealousAnonymous
Wanderer


Joined: 06 Jan 2006
Posts: 70

PostPosted: Sat Apr 29, 2006 7:19 pm   Re: #gag
 
Strakc wrote:
is it possible to make gage not do this...


You have recovered balance.
H:206 M:158 <eb>
H:206 M:158 <eb>
H:206 M:158 <eb>
H:206 M:158 <eb>

I really hate how that looks


You wanna get rid of all 4?

You could do like

#TRIGGER {^H~:%d M~:%d ~<*~>$H~:%d M~:%d ~<*~>} {#GAG}

That will gag all but one.
Reply with quote
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Sun Apr 30, 2006 1:13 pm   
 
What i think he means is that rather than

You have recovered balance.
H:206 M:158 <eb>
H:206 M:158 <eb>
H:206 M:158 <eb>
H:206 M:158 <eb>

He wants

You have recovered balance.
H:206 M:158 <eb>

A removal of the extras. I get that alot myself. I'm thinking that it's due to some #CR's in my scripts, but for the life of me AFAIK they aren't supposed to be going off when i see them.
_________________
http://www.Aardwolf.com
Reply with quote
Math
Beginner


Joined: 25 Apr 2006
Posts: 10

PostPosted: Sun Apr 30, 2006 4:07 pm   
 
#TRIGGER {^H~:&hp M~:&mana ~<*~>} {#IF (@hp = @prev_hp AND @mana = @prev_mana) {#GAG} {#VAR prev_hp @hp;#VAR prev_mana @mana}}
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