hm2k wrote:I wrote a new worldtime.tcl which no longer uses a website to get the data.
I thought you may find this useful...
http://www.hm2k.com/posts/worldtime-tcl
Hope this helps.
hm2k wrote:I wrote a new worldtime.tcl which no longer uses a website to get the data.
I thought you may find this useful...
http://www.hm2k.com/posts/worldtime-tcl
Hope this helps.
Code: Select all
(06:58:09:30:11:10) <@Applets> .tz london
(06:59:52:30:11:10) <@ChatAway> The time in London,United Kingdom is
hm2k wrote:Here's what you need:
hm2k wrote:I wrote a new worldtime.tcl which no longer uses a website to get the data.
I thought you may find this useful...
http://www.hm2k.com/posts/worldtime-tcl
Hope this helps.
hm2k wrote:Interesting.
If there is no result, it should return the "no result" error, yet in your case it is not.
Are you able to reach www.google.com from the machine that the eggdrop runs on? Try replacing the timeserver setting with www.yahoo.com instead.
Or, better still, change the gettime setting from 1 to 0.
Hope this helps.
Code: Select all
[22:37] scripts/weather.tcl error: can't find package html
[22:37] scripts/weather.tcl error: http is required, see http://wiki.tcl.tk/1475
[22:37] scripts/weather.tcl error: can't find package htmlparse
[22:37] scripts/weather.tcl error: Tcllib is required, see http://wiki.tcl.tk/12
hm2k wrote:Interesting.
If there is no result, it should return the "no result" error, yet in your case it is not.
Are you able to reach www.google.com from the machine that the eggdrop runs on? Try replacing the timeserver setting with www.yahoo.com instead.
Or, better still, change the gettime setting from 1 to 0.
Hope this helps.
Based on the details you're providing (or rather lack of), I'll need shell access in order to diagnose it further.Thanhas wrote:i did it but didnt work ((
Are you able to follow the links it suggests? You need to install those packages. You really should discuss other scripts somewhere else.Thanhas wrote:and weather TCL is also making issue got from ur websites
Code: Select all
[22:37] scripts/weather.tcl error: can't find package html [22:37] scripts/weather.tcl error: http is required, see http://wiki.tcl.tk/1475 [22:37] scripts/weather.tcl error: can't find package htmlparse [22:37] scripts/weather.tcl error: Tcllib is required, see http://wiki.tcl.tk/12
Code: Select all
[07:45] Tcl error [pub:wz]: Unknown option -urlencoding, must be: -accept, -proxyfilter, -proxyhost, -proxyport, -useragent
hm2k wrote:Based on the details you're providing (or rather lack of), I'll need shell access in order to diagnose it further.Thanhas wrote:i did it but didnt work ((
Are you able to follow the links it suggests? You need to install those packages. You really should discuss other scripts somewhere else.Thanhas wrote:and weather TCL is also making issue got from ur websites
Code: Select all
[22:37] scripts/weather.tcl error: can't find package html [22:37] scripts/weather.tcl error: http is required, see http://wiki.tcl.tk/1475 [22:37] scripts/weather.tcl error: can't find package htmlparse [22:37] scripts/weather.tcl error: Tcllib is required, see http://wiki.tcl.tk/12
Thanhas wrote:how can i check ? which version is that
hm2k wrote:What version of tcl do you have installed?
Code: Select all
<yournick> .tcl info tclversion
<botnick> Tcl: 8.5
http2.5 is shipped with tcl 8.4 which was released 18-Apr-2008. You should upgrade to tcl 8.4 or above, if you haven't already.speechles wrote:For the -urlencoding issue, it was already asked and solved as part of this thread.
A link to http2.5 (the version with urlencoding) can be found at the above url as well as how to get it working on eggdrop or windrop.