Results 1 to 3 of 3

Thread: View how many people are on Rizon Forums and Who

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Locotes's Avatar
    Join Date
    Aug 2008
    Location
    Somewhere I belong
    Posts
    69

    Default View how many people are on Rizon Forums and Who

    Another script:
    Code:
    on *:text:.rizon:#:{ sockclose rizon. $+ $chan | sockopen rizon. $+ $chan rizon.net 80 }
    on *:sockopen:rizon.*:{ 
      sockwrite -n $sockname GET /vbulletin/index.php HTTP/1.1 
      sockwrite -n $sockname Host: rizon.net $+ $crlf $+ $crlf
    }
    on *:sockread:rizon.*:{
      if ($sockerr) {
        echo -a Error.
        halt
      }
      else {
        var %temptext
        sockread %temptext
        if (%temptext == $null) %temptext = -
        if (*<a href="online.php*">Currently Active Users</a>: * $chr(40) $+ * members and * guests $+ $chr(41) $+ * iswm %temptext) {
          msg $gettok($sockname,2,46) $remove($htmlfree(%temptext),$chr(9))
        }
        if (*member.php?*u=* iswm %temptext) {
          if (*newest* !iswm %temptext) {
            msg $gettok($sockname,2,46) Online: $remove($htmlfree(%temptext),$chr(9))
          }
        }
      }
    }
    alias -l htmlfree {
      var %x, %i = $regsub($1-,/(^[^<]*>|<[^>]*>|<[^>]*$)/g,$null,%x), %x = $remove(%x,&nbsp;)
      return %x
    }
    When someone types .rizon in a channel, it will tell you how many users there are online at the forums, and who those users are

    Again, thanks wild, for helping me fixing some stuff ><
    Last edited by Jason; 05-01-2009 at 08:42 AM. Reason: moved to clean things up

  2. #2
    Junior Member Dusty's Avatar
    Join Date
    Sep 2008
    Location
    England
    Posts
    20

    Default

    My claim to fame is I helped test this!

    Anyhow, it's a nice little script, and bound to be useful.

  3. #3

    Default

    EDITED FOR GREAT JUSTICE
    Last edited by Annie; 05-14-2009 at 06:18 PM.

    Retired since 2009!

    Need any help on IRC?
    #Help - General Rizon help
    #Services - IRC Operator assistance
    #SSL - SSL installation help

Similar Threads

  1. People need to get jobs.
    By Jason in forum Random Useless Facts
    Replies: 0
    Last Post: 03-08-2010, 08:16 PM
  2. hey people
    By FLYER in forum Introductions
    Replies: 0
    Last Post: 08-19-2009, 06:27 PM
  3. Hello People :)
    By sysErroR in forum Introductions
    Replies: 0
    Last Post: 08-10-2009, 08:26 PM
  4. Welcome to Rizon's forums.
    By Annie in forum Introductions
    Replies: 0
    Last Post: 04-16-2009, 10:07 AM
  5. New Forums & Slim Design
    By mink in forum Rizon News
    Replies: 15
    Last Post: 02-25-2009, 11:52 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
  •