|
hadar Apprentice
Joined: 30 Aug 2009 Posts: 198 Location: my apt, in california
|
Posted: 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 |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: 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?
|
|
|
|
hadar Apprentice
Joined: 30 Aug 2009 Posts: 198 Location: my apt, in california
|
Posted: 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
|
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: 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?
|
|
|
|
hadar Apprentice
Joined: 30 Aug 2009 Posts: 198 Location: my apt, in california
|
Posted: Fri Jun 22, 2012 4:10 am |
just the whole line, no "white space"
|
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: 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.
|
|
|
|
hadar Apprentice
Joined: 30 Aug 2009 Posts: 198 Location: my apt, in california
|
Posted: 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
|
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: 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. |
|
|
|
|
|