Project

General

Profile

Actions

Support #5784

closed

Saving NICKLIST to external file

Added by Gary Wolford about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
11/12/2023
Due date:
% Done:

0%

Estimated time:
Operative System:
Windows 10

Description

I wish to sort a to remove offline NICKs from a list of download triggers.

To accomplish this I need a listing of online NICKs.

The list can be comma, <CR> and/or <LF> separated

Actions #1

Updated by Per Amundsen about 1 year ago

You can try putting this in the Script Editor, then type /savenicks in the channel, the nicks will be saved to nicks.txt.

alias savenicks {
  var %s, %c = 0
  while (%c < $nick(#, 0)) {
    inc %c
    %s = %s $+ $nick(#, %c) $+ $crlf
  }

  write -c nicks.txt %s
}
Actions #2

Updated by Oui Ouims about 1 year ago

"/savebuf -l #chan <file>" can be used to accomplish this.

Actions #3

Updated by Per Amundsen about 1 year ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF