Eggdrop Tcl Archive

Home | Contact | Forum | Submit a Script

View All Information: Script Id1794

Script Name: YoutubeTitle Version: 1.7 Author: BLaCkShaDoW Script Date: 19/04/2018 Category: Not specified Downloads: 975 File Name: YoutubeTitle.tcl.zip Short Description: fetches and displays video information when a YouTube link is posted in channel. - displays title, date and rating of posted video links. - supports also HTTPS links. # requires: packages http - New in 1.7: Now shows and infos about duration/length and much more.

Extended Description File

##########################################################################################
# Youtube Title 1.7    (19/04/2018)
# - fetches and displays video information when a YouTube link is posted in channel.
# - displays title, date and rating of posted video links. 
# - supports also HTTPS links.
#
# requires: packages http 
#
# UPDATES/CHANGES:
# - (1.7) shows and infos about duration/length
# - (1.6) multiple output methods of showing the infos configurable via channel
# - (1.6) multi-language support configurable via channel
# - (1.6) supports eggdrop version less than 1.8.*
# - (1.6) options/settings are now case sensitive
#
# To activate .chanset #channel +ytitle | BlackTools : .set +ytitle
#
# To chose a different language .set ytlang <RO> / <EN> / <FR> / <ES> / <IT>
#
# To work put the http.tcl, from the archive, in your eggdrop config (if you don't have it instaled)
#
#                       BLaCkShaDoW ProductionS
#      _   _   _   _   _   _   _   _   _   _   _   _   _   _  
#     / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ 
#    ( t | c | l | s | c | r | i | p | t | s | . | n | e | t )
#     \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/
#                                    #TCL-HELP @ Undernet.org
#     
##########################################################################################

package require http

###
# Bindings
# - using commands
###
bind pubm - * check:youtube
bind ctcp - ACTION check:youtube:me

###
# Channel flags
# - to activate the script: .set +ytitle or .chanset #channel +ytitle
#
# - to change script language:
# .set ytlang <ro/en/fr/es/it> or .chanset #channel ytlang <ro/en/fr/es/it>
#
# - to set script color
# .set ytcolor <0/1> ; 1 - colors ; 0 - no colors
#
###

setudef flag ytitle
setudef str ytlang
setudef str ytcolor

###
# Language setting
# - what language you want to receive the youTube data
#   ( RO / EN / ES / FR / IT )
#
set ytitle(default_lang) "RO"

###
# Colors setting
# - what format you want to receive the youTube data
#   (1) Enable or (0) disable colors
#
set ytitle(colors) "1"

Latest News

27 Dec 2018 Eggdrop v1.8.4 Stable Release 22 Dec 2018 Eggdrop v1.8.4 Release Candidate 3 15 Dec 2018 Eggdrop v1.8.4 Release Candidate 2 12 Dec 2018 Eggdrop v1.8.4 Release Candidate 1 04 Feb 2018 Eggdrop v1.8.3 Stable Release 13 Jan 2018 Eggdrop v1.8.3 Release Candidate 2

Resources

Eggdrop Community Forum Download Eggdrop Eggdrop Set-up Using your Eggdrop Enhancing Eggdrop Eggdrop Tcl Commands Eggdrop 1.8.3 Documents Eggdrop Config File Unix Shell Commands
Donate Help TclArchive.org with server costs. By donating, you help keep these scripts available to everyone. PayPal

© 2015 - 2023,  Greenwood Web Design