(http://img377.imageshack.us/img377/6058/bb19fu.gif)
v1.0 can be downloaded from:
mirror 1 (http://www.rapidsharing.com/ea458dd3ee140aff3e53e34923abce64)
mirror 2 (http://files.photojerk.com/ihud/1131435601/Bash.dot.Org.Bot.v.1.0.LUA5-ZD.rar)
mirror 3 (http://uploadx.net/file/?id=rtDwkqQ=)
Feel free to post any bugs or feature requests. Also, if you use this script, I'd definately like to know where you're using it. Feel free to send me a PM telling me which hub it's being used in.
that is a cool site :)
maybe one could also do a voting for the best quotes,
anyways good script
QuoteOriginally posted by Mogli
maybe one could also do a voting for the best quotes,
You mean have a feature that will allow users to vote on the quote and have the vote stored locally or do you mean have a feature that would utilize bash.org's quote voting system which would allow them to submit their vote on the quote to the bash.org site?
If locally, I don't think it would be very useful. There are $#!7loads of quotes on bash.org, and the chances on having the same quote come up twice for the users to see the quote's rating or to vote on it again would be slim.
If utilizing bash.org's voting system, it wouldn't work very well. Bash.org only accepts one vote per quote per IP address. So that means that the bot could only vote once on a single quote, because the socket that gets opened up to connect to the site is opened from the hub's server, so the IP will be the same when it goes to vote on the same quote for the second time.
yup I was thinking of something local,
like if a quote gest x lol's it will be saved with its hits,
cause who knows, maybe your users are different from the bash board.
But maybe your right its no use, so no worries.
I'll just script it myself, maybe.
I've found a problem. I've noticed that the bot has been repeating some of the quotes which seemed odd to me but I over looked it. Today, the bot repeated the same quote as it did just an hour before. The http://bash.org/?random page lists random quotes, but it lists them in numerical order by the quote's ID number. The bot is programmed to just grab the first quote off of that page. So basically, the bot is limited to only a handful of quotes which have low ID numbers.
I'll fix this problem in v1.1 which I'll try to get out in a few days.
!me feels like a n00b for not paying attention to the ordering of the quotes ;P