panasonic wrote:hi!
can u update the latest fixes on the first page so we dont have to scroll pages to see where's the latest fixes?
Nah, doing on the first page makes it too easy (not to mention, I'm not LOQUILLO so how do you suggest I edit his post?). Let's instead bury the link to the the full working script here in this part of the thread.. Make them work for their bread.. heh.. Anyways, to get it (
click here worldtime v1.3)
panasonic wrote:can i know whether this script can be set to active on certain channel the bot is in by setting e.g .chanset #channel +worldtime ?
It will now work using .chanset #yourchan +worldtime per your request.
Code: Select all
# v1.3 Nov 02 2007 updated by speechles #
# -- Fixed the regexp scraper. #
# -- Added scraper for new info to display, exciting! :P #
# -- Added chanset ability .chanset #yourchan +worldtime #
# -- Added preliminary Multi-Language ability. #
# -- Script now scrapes entire output line directly from the #
# webpage, and how it has multilanguage capability, default #
# at the moment is english. #
sample from irc wrote:<speechles> !tz .de san francisco
<sp33chy> The current time in San Francisco, California, United States is 17:20 Pacific Daylight Time (PDT) -0700 UTC @ Freitag, 2. November 2007
<speechles> !tz san francisco
<sp33chy> The current time in San Francisco, California, United States is 5:20 PM Pacific Daylight Time (PDT) -0700 UTC @ Friday, November 02, 2007
<speechles> !tz .fr san francisco
<sp33chy> The current time in San Francisco, California, United States is 17:15 Pacific Daylight Time (PDT) -0700 UTC @ vendredi 2 novembre 2007
Now you have a 'full blown' time script. The multi language is functional, but just the date seems to be changing not the '
The current time in...' line (blame the website)... enjoy never the less
Take note: The multi-language at the moment is an
undocumented feature and the comments do not reference it in the usage portion, because of it's limitations. It's there if you want to use it for some reason...