Holiday.tcl

Version 1.0

DESCRIPTION
Offer the posibility to get the holiday for current date or a specified one (from current year only) for a specified country or a default one. Also can autoshow the holiday on channel.
– API used https://www.abstractapi.com/holidays-api . You have to register and get a key.
– Max. API uses/month : 1000
COMMANDS
!holiday – shows the holiday for current date for set country
!holiday [date] – shows holiday for date for set country
!holiday [date] [country] – shows holiday for date for specified country like (RO,US etc)
!holiday [country] – shows holiday for current date and specified country like (RO,US etc)
You can set the date syntax required : %d/%m/%Y [day/month/year] (for example).
ACTIVATION
– to activate the script:
.set +holiday or .chanset #channel +holiday
– to enable the autoshow of the current holiday on channel:
.set +autoholiday or .chanset #channel +autoholiday
– to set default country for a channel (use 2 code country code from tcl)
.set holiday-country [country] or .chanset #channel holiday-country [country]

Example:

Daniel Voipan
BLaCkShaDoW Administrator
The One and Only
or

Write a Review