19/09/2015, 16:40
(Modification du message : 19/09/2015, 16:47 par heartbroken.)
I've just tried and tested first code on a bot. (eggdrop1.8 , Tcl 8.6.4 )
I uploaded script in to my bot/scripts and added source scripts/radioking.tcl line into my bot's .conf file:
http://i.imgur.com/vV6Bs8S.png
then i've connected to my bot via telnet
and i typed .rehash first:
http://i.imgur.com/F6Johz8.png
then to activate this script on a #channel,
.chanset #channel +radioking
http://i.imgur.com/f0ltoqi.png
and my bot started posting new songs on #channel
like you've wanted if i understood your request correct before.
http://i.imgur.com/lwe9Ns4.png
These radioking links has https needs tls ,
if you've .tcl .set commands enabled on your bot's .conf ,
.tcl package present tls
to check if it could see this package.
this : .tcl package present tls command should return tls version.
if it doesn't return any value and if you've already installed this,
you could try to add a line like:
lappend ::auto_path /path/to/tls
right before the : package require tls
or you can add this on bot's .conf
this may help to find this tls package has been located on the system.
I uploaded script in to my bot/scripts and added source scripts/radioking.tcl line into my bot's .conf file:
http://i.imgur.com/vV6Bs8S.png
then i've connected to my bot via telnet
and i typed .rehash first:
http://i.imgur.com/F6Johz8.png
then to activate this script on a #channel,
.chanset #channel +radioking
http://i.imgur.com/f0ltoqi.png
and my bot started posting new songs on #channel
like you've wanted if i understood your request correct before.
http://i.imgur.com/lwe9Ns4.png
These radioking links has https needs tls ,
if you've .tcl .set commands enabled on your bot's .conf ,
.tcl package present tls
to check if it could see this package.
this : .tcl package present tls command should return tls version.
if it doesn't return any value and if you've already installed this,
you could try to add a line like:
lappend ::auto_path /path/to/tls
right before the : package require tls
or you can add this on bot's .conf
this may help to find this tls package has been located on the system.