Project

General

Profile

Log from away mode

Added by Charlie Sorrow 5 days ago

Is there any way that while we are in away mode, messages from channels containing our nickname will be displayed in a separate window or a separate * .log file that we can view when we return from away mode? Because sometimes we are in away mode long enough that when we return, messages addressed to us are no longer visible in the main channel window and we have to browse the * .log file.


Replies (10)

RE: Log from away mode - Added by Per Amundsen 4 days ago

Check Menubar -> View -> Highlights.

RE: Log from away mode - Added by Charlie Sorrow 4 days ago

Thank you.
There is only one problem. Not all nicknames with permissions on the channel (e.g. voice) appear with these permissions (e.g. +). This means that permission markings are visible for all nicks in the nickname list. But in the news on the channel, not all nicknames have these marks. As a result, in the highlight window, in the case of a nick next to which the permission mark does not appear in the channel window, the name of the channel appears in the 'nick' column. However, the nickname of the person who wrote the message with the highlighted content is moved to the 'message' column

RE: Log from away mode - Added by Per Amundsen 4 days ago

Not sure what you are talking about, a screenshot would help.

RE: Log from away mode - Added by Charlie Sorrow 4 days ago

@Per Amundsen: look at this.

https://i.imgur.com/diJ59W3.png

All nicknames (Suuu, galazka_jabloni, zxcv) have voice permission. But only in messages from the nick zxcv is the + sign visible.

RE: Log from away mode - Added by Per Amundsen 4 days ago

I need to see the raw message to understand this.

Open Menubar -> File -> Rawlog, the next highlight you get, go to the Rawlog window and find the raw message, then copy/paste it here.

RE: Log from away mode - Added by Charlie Sorrow 4 days ago

<- 2021-02-24 21:48:07 - :Antenka!~z3xd8d1H@83.29.141.127.ipv4.supernova.orange.pl PRIVMSG #towarzyski :%Fi%Charlie_Sorrow cześć
<- 2021-02-24 21:56:44 - :zxcv!~z3040c20@webczat PRIVMSG #towarzyski :Charlie_Sorrow jestes?

Both nicks have voice permissions. But only in messages from the nick zxcv there is + displayed next to the nick.

RE: Log from away mode - Added by Per Amundsen 4 days ago

Not sure what voice or + have to do with anything.

Both of these messages produces channel = #towarzyski and nick = Antenka/zxcv in the highlight monitor. I need a raw message that produces nick = #towarzys.

Are you using a script that prints the messages with /echo -l ?

RE: Log from away mode - Added by Charlie Sorrow 3 days ago

@Per Amundsen: Here You go.

https://i.imgur.com/hXXXwhg.png

-> 2021-02-25 20:51:06 - :matylda1978!~bc63893d@webczat PRIVMSG #towarzyski :%Fbi%%C959595%Charlie_Sorrow   ))

I am using the following four scripts:

[1]

on $^*:TEXT:/^(%[Fib]+%%C0%)/:*:{
  var %text $replace($1-,$regml(1),)

  echo -tblfmw2 $+(<,$nick,>) %text
  halt
}

on $^*:TEXT:/^(%[Fib]+%%C([0-9a-f]+)%)/:*:{
  var %text $replace($1-,$regml(1),)

  echo -tblfmw2 $+(<,$nick,>)  %text
  halt
}

on $^*:TEXT:/^(%C0%)/:*:{
  var %text $replace($1-,$regml(1),)

  echo -tblfmw2 $+(<,$nick,>)  %text
  halt
}

on $^*:TEXT:/^(%[C0-9a-f]+%)/:*:{
  var %text $replace($1-,$regml(1),)

  echo -mtbflw2 $+(<,$nick,>) %text
  halt
}

on $^*:TEXT:/^(%[Fib]+%)/:*:{
  var %text $replace($1-,$regml(1),)

  echo -tbflmw2 $+(<,$nick,>) %text
  halt
}

on $^*:TEXT:/^(%[I]+%)/:*:{

  echo -tbflmw2 $+(<,$nick,>) $+ jakas ikona
  halt
}
CTCP *:VERSION:*: halt

[2]

on *:join:%wchannels: { whois $nick $nick }

menu Channel {
  Whois On Join
  .Enabled {
    set %wchannels $addtok(%wchannels,#,44)
    echo 4 -at ••• Whois on join is 7Enabled 4(for # $+ )
  }
  .Disabled {
    set %wchannels $remtok(%wchannels,#,1,44)
    echo 4 -at ••• Whois on join is 7Disabled 4(for # $+ )
  }
}

[3]

on *:join:%wchannels: { ns info $nick }

menu Channel {
  Info On Join
  .Enabled {
    set %wchannels $addtok(%wchannels,#,44)
    echo 4 -at ••• Info on join is 7Enabled 4(for # $+ )
  }
  .Disabled {
    set %wchannels $remtok(%wchannels,#,1,44)
    echo 4 -at ••• Info on join is 7Disabled 4(for # $+ )
  }
}

[4]

alias F1 { n2a.tab $target $n2a($gettok($editbox(#),$n2a.token(#),32)) }
alias n2a { return $iif($address($1,5),$v1,$1) }
alias -l n2a.tab { editbox $puttok($editbox($1),$2,$n2a.token($1),32) }
alias -l n2a.token { return $numtok($left($editbox($1),$editbox($1).selstart),32) }

RE: Log from away mode - Added by Per Amundsen 2 days ago

Okay so you are using a /echo -l script, that explains things. Since /echo cannot distinguish between a nick and the message, it's all just a line of random text, the Highlight Monitor Panel uses the window name as "nick" for highlights.

For next beta I changed it so it uses the first word in the line as "nick" in the Highlight Monitor Panel, in this case that would be <matylda1978> ... notice that it will always have the <> because it has to use the full first word as is.

RE: Log from away mode - Added by Charlie Sorrow 2 days ago

@Per Amundsen: thanks for the clarification! When can the beta be expected?

    (1-10/10)