PDA

View Full Version : WhatPulse mIRC script!


Amatively
03-14-2007, 03:11 AM
Ok, I've been coding a script to show my WP stats on mIRC, but it was popular, so I decided to release it.

It's based off Scott Wilcox's script, so thanks to him :)

So here's the link: http://dl.rooz.us/irc/whatpulse.zip (3.25KiB)
Check the readme file for more detailed infomation.

It has a summary feature, as well as a full and team feature.
Example output:
# /wp update
[***] WhatPulse updating stats
[***] WhatPulse stats finished updating (962 bytes downloaded).
# /wp short
<RooZ> [WhatPulse.org user RooZ.] Keys Pressed: «8,671,523» Mouse Clicks: «6,544,634» KM Moved: «455.626» Since: «2006-11-23» Rank: «7858»
# /wp long
<RooZ> [WhatPulse.org user RooZ.] I have pressed a total of «8,671,523» keys, clicked «6,544,634» times and have moved my mouse «455.626» kilometres since «2006-11-23» my global rank is «7858»
<RooZ> Pulses: «496» Last Pulse: «2007-12-15 22:17:53» Stats Last Updated: «16/12/07 @ 04:10:57pm»
<RooZ> Average Keys Per Second: «0.26» Average Clicks Per Second: «0.2»
# /wp team
<RooZ> [WhatPulse.org team #TMNT-Files] My team has «11» members and has pressed a total of «34,084,007» keys, clicked «13,783,278» times and moved their mouse «703.342» miles since «15 March 2007 at 10:37:12»
<RooZ> My teams overall ranking is: «1101» and my rank in the team is: «2/11»
The layout is configurable, so are colours, etc.

Commands are:
/wp update - Updates your stats for use on IRC (do this regually!)
/wp long - Shows a detailed version of your stats in 3 lines
/wp short - Shows a summarised version of your stats in 1 line
/wp team - Shows your team stats in 2 lines
/wp changeid - Change your WhatPulse user ID

Yeah that's about it, any bugs, comments or whatever PM or reply here :)

Version History:
1.1: Added support for converting miles to kilometres,
Removed references to incomplete API, as this was fixed.
1.0: Inital release.

Amatively
12-16-2007, 05:00 AM
Just thought I'd bump this thread, seeing as I've updated it to version 1.1, and the now that the WebAPI is fixed, all stats display properly :)

nbf
04-17-2009, 08:51 PM
Nice script, thanks for sharing!