Nickname list

Help
2005-07-11
2013-04-09
  • Nobody/Anonymous

    Hey,

    I want to check a certain irc channel and display all user-nicknames that are in it. Does anybody here have an idea how to do that?

    I used the example2 to count all users, but i want to add list the nicknames after...

    please help!

    Regards
    Slash-X

     
    • Alexander Schuch

      $channel = &$irc->getChannel('#test');
      if ($channel !== false) {
          foreach ($channel->users as $user) {
              echo $user->nick;
          }
      }

      Something among those lines.
      Play around a little with that code and you should get it working.

       

Log in to post a comment.