Page 1 of 1

WhatPulse; User stats

Posted: Tue Nov 30, 2004 3:50 pm
by Endo

Code: Select all

alias wpw {
  if ($hget(whatpulse1) != $null) { hfree whatpulse1 }
  hmake whatpulse1
  set %wpwho $1-
  set %wpmethod aline -n @WhatPulse
  window -ae @WhatPulse
  if ($sock(whatpulse1).to != $null) { sockclose whatpulse1 }
  if (%wpproxy == $null) {
    sockopen whatpulse1 whatpulse.org 80
  }
  else {
    sockopen whatpulse1 %wpproxy %wpproxyport
  }
}

on *:sockopen:whatpulse1: {
  if (%wpproxy == $null) {
    sockwrite -n whatpulse1 GET /api/user.php?account= $+ %wpwho  HTTP/1.1
  }
  else {
    sockwrite -n whatpulse1 GET http://whatpulse.org/api/user.php?account= $+ %wpwho  HTTP/1.1
  }
  sockwrite -n whatpulse1 Host: whatpulse.org
  sockwrite -n whatpulse1 User-Agent: WhatPulse mIRC script
  sockwrite -n whatpulse1
}

on *:sockread:whatpulse1: {
  sockread %wptemp
  wpsockparse1 %wptemp
}

alias -l wpsockparse1 {
  if ($1 == W) {
    hadd whatpulse1 $2 $3-
  }
  if ($1- == X END) {
    %wpmethod AccountName: $hget(whatpulse1, AccountName)
    %wpmethod Country: $hget(whatpulse1, Country)
    %wpmethod DateJoined: $hget(whatpulse1, DateJoined)
    %wpmethod Homepage: $hget(whatpulse1, Homepage)
    %wpmethod LastPulse: $hget(whatpulse1, LastPulse)
    %wpmethod Pulses: $hget(whatpulse1, Pulses)
    %wpmethod TotalKeyCount: $hget(whatpulse1, TotalKeyCount)
    %wpmethod TotalMouseClicks: $hget(whatpulse1, TotalMouseClicks)
    %wpmethod AvKeysPerPulse: $hget(whatpulse1, AvKeysPerPulse)
    %wpmethod AvClicksPerPulse: $hget(whatpulse1, AvClicksPerPulse)
    %wpmethod AvKPS: $hget(whatpulse1, AvKPS)
    %wpmethod AvCPS: $hget(whatpulse1, AvCPS)
    %wpmethod Rank: $hget(whatpulse1, Rank)
    %wpmethod TeamID: $hget(whatpulse1, TeamID)
    %wpmethod TeamName: $hget(whatpulse1, TeamName)
    %wpmethod TeamMembers: $hget(whatpulse1, TeamMembers)
    %wpmethod TeamKeys: $hget(whatpulse1, TeamKeys)
    %wpmethod TeamDescription: $hget(whatpulse1, TeamDescription)
    %wpmethod TeamDateFormed: $hget(whatpulse1, TeamDateFormed)
    %wpmethod RankInTeam: $hget(whatpulse1, RankInTeam)
    %wpmethod -----------------------------------------------------
    sockclose whatpulse1
    unset %wpwho
    unset %wpmethod
    unset %wptemp
  }
}
Just modified the script used to get your own stats, big and bulky because im awkward /smile.gif' class='bbc_emoticon' alt=':)' /> ;; Usage /wpw (will not say if nick is invalid etc)

WhatPulse; User stats

Posted: Tue Nov 30, 2004 5:07 pm
by Tami
Don't you think you should tell people what WhatPulse is if they aren't aware? /blum.gif' class='bbc_emoticon' alt=':P' />

WhatPulse; User stats

Posted: Tue Nov 30, 2004 6:37 pm
by Endo
[url="http://whatpulse.org"]http://whatpulse.org[/url] for all your desires about what this is /blum.gif' class='bbc_emoticon' alt=':P' /> Basically, you install a keylogger which records your keys and clicks, then uploads them and keeps tally, you can join teams etc, just harmless fun

WhatPulse; User stats

Posted: Tue Nov 30, 2004 8:22 pm
by Josh
Also, we encourage you to join our own KillaNet team which is located here: [url="http://whatpulse.org/stats/team.php?tid=3654"]http://whatpulse.org/stats/team.php?tid=3654[/url]

WhatPulse; User stats

Posted: Mon Jan 17, 2005 10:53 am
by bctrainers
Don't mean to bump this topic... but would ya look at them ranks. /blum.gif' class='bbc_emoticon' alt=':P' />

WhatPulse; User stats

Posted: Mon Jan 17, 2005 2:29 pm
by mobil1_oils
Nooo... you're almost beating me!!! /cry.gif' class='bbc_emoticon' alt=':(' />...

*types more*

WhatPulse; User stats

Posted: Tue Jan 18, 2005 12:25 am
by radar
Join us. We have cookies /smile.gif' class='bbc_emoticon' alt=':)' />