Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
hadar
Apprentice


Joined: 30 Aug 2009
Posts: 198
Location: my apt, in california

PostPosted: Thu Jun 21, 2012 3:07 pm   

#gagspace
 
so on aardwolf i use this trigger to capture lines,

Code:

<trigger priority="10" regex="true" id="3743">
  <pattern>^\{chan ch=([^}]+)\}</pattern>
  <value>#if (%1="auction") {} {#if (%ismember( %1, @shouldchannelbegagged)) {
    #sub {}
    #cap gaggedchannels
    #gagspace
    } {
    #sub {}
    #cap channels
    }}</value>
</trigger>



because of the gagspace i would assume that it would not output blank lines, but i still get extra blank lines when someone talk

Code:

2929/2929/100% 1177/2310/50% 3019/3019 108530 2526xp 0tell 2322 | 28tc |DX

DeadMan barters: portal to imperial




--> TICK <-- (Hp: 100%, Mn: 53%, Mv: 100%, Qt: 28)


let me note, it does not happen that often, only when multiple things are said on a gagged channel at 1 time
_________________
if you build it they will come, assuming that they have not already come to build it
Aardwolf Bootcamp
My youtube channel
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Thu Jun 21, 2012 7:51 pm   
 
First thought--have you verified that those lines are actually blank? Are they instead space or tab characters?
Reply with quote
hadar
Apprentice


Joined: 30 Aug 2009
Posts: 198
Location: my apt, in california

PostPosted: Thu Jun 21, 2012 11:26 pm   
 
i was not at the keyboard when that happened, so it was no user input, and when i looked at the screen of my gagged channels, there was about 6-9 things that were said on gossip at that point
_________________
if you build it they will come, assuming that they have not already come to build it
Aardwolf Bootcamp
My youtube channel
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Fri Jun 22, 2012 12:41 am   
 
That doesn't answer the question. Try highlighting where the first character on a blank line would be. Does it look like there is a blank space there? Or does it just highlight the entire line?
Reply with quote
hadar
Apprentice


Joined: 30 Aug 2009
Posts: 198
Location: my apt, in california

PostPosted: Fri Jun 22, 2012 4:10 am   
 
just the whole line, no "white space"
_________________
if you build it they will come, assuming that they have not already come to build it
Aardwolf Bootcamp
My youtube channel
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Fri Jun 22, 2012 12:37 pm   
 
Okay, no white spaces. I haven't come up with any other ideas. Perhaps looking at the Debugger output would be illuminating. Or it could be an obscure bug.
Reply with quote
hadar
Apprentice


Joined: 30 Aug 2009
Posts: 198
Location: my apt, in california

PostPosted: Fri Jun 22, 2012 3:20 pm   
 
guess ill just live with the blank lines, my debugger is way to cluttered to test stuff in
_________________
if you build it they will come, assuming that they have not already come to build it
Aardwolf Bootcamp
My youtube channel
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Fri Jun 22, 2012 6:33 pm   
 
Would Aardwolf sending <LF><CR> at the end of every line of output be the reason? I think it's Aardwolf actually sending the additional blank lines. From Script Debugger:

Code:
i     Etzli *{chan ch=gtell}<ESC>[1;33m(<ESC>[1;37mGroup<ESC>[1;33m) <ESC>[1;33mYou bat your eyelashes.<ESC>[0;37m<LF><CR>

<IAC><SB><201>comm.channel { "chan": "gtell", "msg": "<ESC>[1;33m(<ESC>[1;37mGroup<ESC>[1;33m) <ESC>[1;33mYou bat your eyelashes.<ESC>[0;37m", "player": "Etzli" }<IAC><SE><LF><CR>

>Prompt: Note read!<LF><CR>

<ESC>[0;37m


In my experience, gagspace has always worked that way. Then again, I've only exclusively used it on Aardwolf.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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