It would be an epic update to use a webdatabase to search up the location of the IP addresses, such as http://geotool.flagfox.net/?ip=74.55.211.234 for Hawkee.com.
All it must do is strip letters, -'s, etc from the hostname, then socket to that website, then trim off where it says the country and city. It is genius! :D
FordLawnmower: Good job, you fed the troll, now he will come back for more :(
SeiferAlmasy: You made Fred waste more time than it took you to reply to his reply that you thought was a waste of time. (wat?)
You could have fixed the entire problem by alt+f4ing, and never posting a flame here again. We help beginners, not troll them. We are a programming community, not a flame community. If you want to flame, go to an imageboard or something. (Also, yay for E-Drama!)
Weasel: Don't give up, hopefully soon you can write a more advanced script? :)
Nice!
A few bugs happened though.
Error 421: Unknown command: NOTICE$NICK
I edited the script a little to notice it to the user, instead of sending to the chan. Is that where I went wrong? http://pastebin.torrentialstorm.net/104
Yes they are :)
And is my config for the .hsh file correct? Does it need a blank line between each feed?
Edit: Using nodialog version, working fine mostly. Only, some of the feeds are not working. The #/r/ one is, CNN is, but the rest are not :(
rsshttp://rss.cnn.com/rss/cnn_topstories.rss = RSS.Feed CNN-Top-Stories http://rss.cnn.com/rss/cnn_topstories.rss #hy71194,##srltrivia 30
rsshttp://zip.4chan.org/k/index.rss = RSS.Feed /k/-Feed http://zip.4chan.org/k/index.rss #/k/ 60
rsshttp://cgi.4chan.org/r/index.rss = RSS.Feed /r/-Feed http://cgi.4chan.org/r/index.rss #/r/ 30
rsshttp://orz.4chan.org/d/index.rss = RSS.Feed /d/-Feed http://orz.4chan.org/d/index.rss #/d/ 60
rsshttp://orz.4chan.org/e/index.rss = RSS.Feed /e/-Feed http://orz.4chan.org/e/index.rss #/e/ 60
rsshttp://zip.4chan.org/m/index.rss = RSS.Feed /m/-Feed http://zip.4chan.org/m/index.rss #/m/ 60
Must the feed delay be at 30? The less active RSS feeds are at 60.
Edit: Disregard that, I am a nub, the RSS feeds only update once a new THREAD is made, not a reply. It works nice with no dialog :)
Yeah, I think that was it.
Also, are you SURE the delay is in seconds? I have it setup to 30 'seconds' in the dialog per RSS feed for a feed that is constantly updated every ~60 seconds, but it will only announce it every 30 MINUTES, for some reason.
Edit: No, that was not the problem. I edited it in, and it still makes some of my feeds blank in the dialog. I think it is because it does not seem to edit RSSFeed.hsh with the changed information.
Edit2: How can I remove the thing that forces the delay to me more 2 minutes? I want it to check the feed every 30 seconds. Also would be cool to be able to do an alias like /RSSUpdate and it will update and display all RSS feeds.
Edit3: I get "* /sockwrite: 'RSS' not connected (line 154, rss.mrc)" when I manually entered all my addresses into the RSSFeed.hsh file.
In case you were wondering, here is my setup of rssfeed.hsh file :
http://www.pastie.org/457578
(If I remove the newline between the different feeds, it does nothing, but if I add the newline, I get the error, and it also does nothing).
Edit4:
!rss.status gives me this:
rsshttp://orz.4chan.org/e/index.rss = RSS.Feed /e/-Feed http://orz.4chan.org/e/index.rss #/e/ Next Check in 1153 Seconds
rsshttp://cgi.4chan.org/r/index.rss = RSS.Feed /r/-Feed http://cgi.4chan.org/r/index.rss #/r/ Next Check in 1146 Seconds
rsshttp://cgi.4chan.org/h/index.rss = RSS.Feed /h/-Feed http://cgi.4chan.org/h/index.rss #/h/ Next Check in 1093 Seconds
rsshttp://rss.cnn.com/rss/cnn_topstories.xml = RSS.Feed CNN-News http://rss.cnn.com/rss/cnn_topstories.xml #hy71194,##srltrivia Next Check in 901 Seconds
rss#/e/ = RSS.Feed http://cgi.4chan.org/r/index.rss #/e/ 30 Next Check in 894 Seconds
Why is it insisting on such huge delays?! I have it set at 30 seconds.
Is it possible for you to make just a simple script that will just read and announce updates to RSS feeds into my chan every 30 seconds? :>
All that extra, unneeded stuff like the dialog boxes make this script buggy :(
Small bug I noticed..
When you go to edit the feed, it will not reload in all the boxes, like it should. It will just have the name still there. If you try to save without reentering the data, you get an error.
It might also be less confusing to remove the echo of RSS'd URLs, and make the .msg a msg, so the sender can see the sent line?