Jump to content
Sign in to follow this  
Never

Add statistics functionality to Nightbot (PadderBot)

Recommended Posts

Hello!

As users of PadderBot may be aware, he has been dead for quite a while. To be honest, he was doomed from the start. PadderBot was a bit of a hackjob using mIRC and mIRC Scripting. While this is fine for a single-channel bot, PadderBot was supposed to be in multiple channels at once, and once you pass the 30 or 40 channel mark, mIRC starts to get bogged down quite a bit. Eventually it became too much for the poor IRC client and small Windows virtual server to handle and things went down for good.

However, I've created a nifty little alternative if you still want to have statistics functionality on your channel. Using Nightbot, you can easily add a custom command that will grab the player's statistics directly from WoTLabs and display them on your stream's chat in the same way that PadderBot did.

You can add the command by typing the following into your channel's chat:

!commands add !stats $(urlfetch http://wotlabs.net/padderbot/?query=$(querystring))

After that, all you have to do is type !stats [server] [player] and Nightbot will return the player's informations.

Example:

Quote

Neverwish: !stats na Neverwish
Nightbot: [Player] Neverwish [Battles] 8303 [Win Rate] 55.93% [WN8] 1857 [Recent Win Rate] 52.8% [Recent WN8] 1927 - Statistics provided by www.WoTLabs.net

Supported servers are:

  • na
  • eu
  • asia
  • ru

And that's it! Hope you guys enjoy it! Also, there will be new things on WoTLabs going forward. Stay tuned.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...