This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Sports Scoreboard

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
m
maphex
Voice
Posts: 9
Joined: Fri Feb 10, 2012 5:06 pm

Sports Scoreboard

Post by maphex »

Looking fora script that can either auto announce or be triggered for sports sores like NFL NBA MLB etc. I have found a few around but none seem wot work. Maybe something that can read off the ESPN sites.
Found these 2 scripts not sure if they can be modified to work or not
https://github.com/leprechau/tcl-script ... eboard.tcl
http://www.refugezero.com/src/dist/eggd ... rd-0.3.tcl

Thanks in advance!
User avatar
Get_A_Fix
Master
Posts: 206
Joined: Sat May 07, 2005 6:11 pm
Location: New Zealand

Post by Get_A_Fix »

I'm unfamiliar with the other scripts. I'm not a big sports fan, but you said you wanted MLB, NBA, NFL and with ESPN, so why not use their many RSS feeds for instant updates? You may have to use this script with the scoreboard.tcl to have more commands and information, that is up to you and what you want, but if you add enough RSS feeds to this script you won't need anything else. This will flood the channel with info and scores :P

One of the best RSS script's I've personally used is RSS-Synd, and I've altered one for you to basically show you how you can add more.
This script comes with the following commands:
# !mlbnews
# !nbanews
# !nflnews
# !nhlnews

Any new RSS news updates are instantly announced into your selected channel.
You can find a copy of this script here. You should be able to just load the new script source into your *.conf file and perform a .rehash (there shouldn't be any reason to restart).
You can find the RSS pages that give score results and add them to the script for direct score output. So far, I just added news.

EDIT: I've had this running on one of my bots and it works perfectly. I added a file check system to the TCL to create the databases for you, as this was left out of the original script and ended up causing issues for user's.
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.
User avatar
Get_A_Fix
Master
Posts: 206
Joined: Sat May 07, 2005 6:11 pm
Location: New Zealand

Post by Get_A_Fix »

maphex, any luck?

I did have a !topnews command added, but it was giving posts and then the MLB, NBA, NFL, NHL would post the same thing, depending on the topic of news. So it was removed and the script is still working fine. I've been running it since I edited it for you.
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.
Post Reply