Ok, I stuck this script on my eggdrop and when I rehashed it said I needed TCL 8.4 or higher to work, so I've installed TCL 8.4 now and rehashed/restarted the bot, and it still says the same.
[08:32] You don't have TCL 8.4, you have to upgrade to version 8.4 or higher to use rss.tcl.
I'm guessing it's because I've installed TCL 8.4 in my home directory rather than /usr/bin or whatever the default is, because I don't have root. Is there anyway to make it point to /home/janipewter/tcl (where I installed 8.4) rather than it finding the older version?
Thanks for the help. Are they any you can recommend to me which don't requre me either a) having root; or b) having to install countless packages. All I need it to do is let me input a url to an RSS feed and have it post the latest news to a channel whenever the feed is updated.
set feeds(#mtavcsux) {10 http://forum.mtavc.com/rss.php}
But it keeps giving me:
(23:07:11) (~Jani) !rss #mtavcsux
(23:07:13) (~Ghost) argument must be number or *
(23:07:20) (~Jani) !rss *
(23:07:21) (~Ghost) no news for this channel
I've given it 20 minutes to update, but it keeps just saying there's no news, even though I've sat there and refreshed the feed page and it has updated a lot of times.
I've put it to 300 seconds now. I set up a test feed from the BBC news RSS and it works ok, except for spamming the title and then 30 headlines when I've set the variable maxnew to 3.
It's obviously the website I was originally trying which was causing the problems.