Code: Select all
#---------------------------------------------------------------------#
# BlueLiquidX:OnThisDay v1.2b #
# #
# Grabs the headlines for what happened today in history #
# #
# Usage: #
# .chanset #channel +today #
# !today [-b/m] [date (format: mmdd)] #
# #
# -m Shows all history for the day #
# -b Shows all birthdays for the day #
# *WARNING: using switches WILL flood channel and may result #
# in bot getting kicked/banned from channel and/or server. #
# #
# ChangeLog: #
# 1.0a - First public alpha release #
# 1.1b - Fixed bug where '<age/>' showed up in birthday prior to #
# 2007 #
# - Changed date input from yyyymmdd to mmdd. This will use a #
# prior year if the date is after the current date. #
# - Added switches to allow more information to be displayed #
# or only birthdays to be displayed. #
# 1.2b - Added variable to disable birthdays from appearing on #
# output. #
# - Added variable to customize the seperator between items #
# - Removed debug logging #
# #
# TODO: #
# - More customization for display of information #
# - Ideas? Email me. #
# #
# http://www.blueliquidx.net #
# macbrando@gmail.com #
# irc.blueliquidx.net / #AllNiteCafe - BeBoo #
#---------------------------------------------------------------------#
I used incith as a basis for my script. Please be sure to check out the settings before using the script. Please feel free to point out any bugs, mistakes, misspellings, etc. Please let me know if you have any ideas for how this script can be expanded further!Sample IRC wrote:(BeBoo) !today
(optix) Wednesday, October 10th - This is the 283rd day of 2007. There are 82 days left in 2007. * 1813 - Composer Giuseppe Verdi was born in Le Roncole, Italy. * 1845 - The U.S. Naval Academy opened in Annapolis, Md. * 1886 - The tuxedo dinner jacket made its American debut at the autumn ball in Tuxedo Park, N.Y. * Green Bay Packers quarterback Brett Favre turns 38 years old today.
You can get a copy here.