Results 1 to 4 of 4

Thread: List online users on channel with main nick.

  1. #1
    Junior Member
    Join Date
    Feb 2015
    Posts
    2

    Default List online users on channel with main nick.

    Hello.
    I'm writing small bot for couple of channels. Bot are working on two servers in the same time, QuakeNet and Rizon. I need to identify users by auth/register nick, and here is a problem. I do it when bot is start running, and save all auths to datebase. Later i do only updates.
    In QuakeNet there is really nice command: /msg Q users #channel
    and i have in one response all users in channel with actual nick, auth, flags and host, like this: (this command shows only online users)
    Code:
    [12:21:22] [Uwaga] -Q- Users currently on #channel:
    [12:21:22] [Uwaga] -Q- Nick            Username        Flags        Host
    [12:21:22] [Uwaga] -Q- @Q               It's me!                     (TheQBot@CServe.quakenet.org)
    [12:21:22] [Uwaga] -Q- @krzmig          krzmig          +jkmno       (~krzmig@krzmig.users.quakenet.org)
    In rizon i didn't found anything similar to this, it's only command "why" to chanserv, but it can be use only for one person in one time.

    Can you do something similar, for all online users in channel? Will be really nice.

    Regards o/

  2. #2
    Rizon Staff MAGIC's Avatar
    Join Date
    Feb 2013
    Location
    Frankfurt/Germany
    Posts
    32

    Default

    Well you can use /who #channel to get all users in #channel

    Example:
    Code:
    [22:11]»» #ghey ChanStat chanstat.net * ChanStat Hr@ :0 ChanStat channel logging bot
    [22:11]»» #ghey ~yolo yolo.yolo * yolo Hr& :0 /invite #chan yolo
    [22:11]»» #ghey UNOBot play.uno.with.me * UNOBot Hr@ :0 Official Rizon UNOBot
    [22:11]»» #ghey esim e-sim.org * e-Sim Hr*% :0 eSim
    [22:11]»» #ghey erepublik erepublik.rizon.net * eRepublik Hr*% :0 eRepublik
    [22:11]»» #ghey internets services.rizon.net * Internets Hr*% :0 Network Services Bot
    [22:11]»» #ghey trivia trivia.rizon.net * Trivia Hr*% :0 Trivia
    [22:11]»» #ghey quotes quotes.rizon.net * Quotes Hr*% :0 Quotes
    [22:11]»» #ghey me your.window * |f`-`|f H& :0 stalking is just another way of saying I <3 U
    [22:11]»» #ghey m gic.helpstaff.rizon.net * MAGIC Hr~ :0 2Nice /whois
    [22:11]»» #ghey :End of /WHO list.
    The first field is the current channel, ident, host, nickname. Status indicates if a user is “H”ere or “G”one, if IRCop (“*”), idnetified ("r"), and/or have voice ("+"), halfop ("%"), op ("@"), protected ("&"), or owner ("~"). Last bit is the realname

  3. #3
    Junior Member
    Join Date
    Feb 2015
    Posts
    2

    Default

    Getting all users in channel is not a problem. I want to get nick and nick which is registered. You can connect with nick "magic", login into, and then change nick to "magicafk". If i start bot after you change nick, i want to know that "magicafk" registered nick is "magic". Like with command to chanserv - why:
    Code:
    krzmig|afk has VOP access to #channel. Reason: Identification to XOP list nickname. Main nick: krzmig

  4. #4

    Default

    Nice script, krzmig!
    Last edited by kaufen; 09-29-2015 at 02:07 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •