Project

General

Profile

[Script] Open window message search results in a new window

Added by Per Amundsen over 7 years ago

Open window message search results in a new window

Use: type /find <text>

alias find {
  var %s 0,%c $qt($active), %t $line(%c,0)
  window @search
  echo -s dd %t - %c
  while (%s < %t) {  
    inc %s
    var %line $line(%c,%s)
    if ($1- isin %line) {
      echo @search %line
    }
  }  
}