egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

incith:weather (2.8p) (Dec. 18th, 2008)
Goto page 1, 2, 3 ... 19, 20, 21  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Wed Sep 07, 2005 4:54 pm    Post subject: incith:weather (2.8p) (Dec. 18th, 2008) Reply with quote

Newest versions of my scripts are always available @ incith.com if they are not yet available on the Tcl archive.

Code:
#  2.8p: fix for public_to_private not working.                       #

Code:
#  2.8o: they made units cookie based, fix to compensate.             #

Code:
#  2.8n: windchill fix                                                #

Code:
#  2.8m: more small fixes and updates                                 #

Code:
#  2.8L: forecast modified for unknown change, capital L for LOLS!    #
#  2.8k: added longitude & latitude back (optional, show_lat_lon var) #
#        major improvements to multiple results.                      #
#        forecast will show the % chance of precipitation.            #
#        script was fetching mobile more often than it needed, fixed. #

Code:
#  2.8j: fixes: temp, dew point, wind speed, better mobile backup.    #

_________________
; Answer a few unanswered posts!


Last edited by incith on Fri Dec 19, 2008 12:32 am; edited 54 times in total
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Sun Nov 27, 2005 4:59 pm    Post subject: Reply with quote

-link expired-
_________________
; Answer a few unanswered posts!


Last edited by incith on Mon May 15, 2006 8:39 pm; edited 2 times in total
Back to top
View user's profile Send private message
Luniz2k1
Voice


Joined: 17 Sep 2003
Posts: 19

PostPosted: Fri Mar 03, 2006 7:30 am    Post subject: incith:weather v1.9_r3 not working Reply with quote

Could not fetch the current temperature. Seems that the format of the website has changed again.
Back to top
View user's profile Send private message
Fubar
Voice


Joined: 27 Feb 2006
Posts: 7

PostPosted: Fri Mar 03, 2006 9:46 am    Post subject: Reply with quote

i get the same , although forecast still works
Back to top
View user's profile Send private message
Luniz2k1
Voice


Joined: 17 Sep 2003
Posts: 19

PostPosted: Fri Mar 03, 2006 9:53 am    Post subject: Reply with quote

Yes, the forcast does still work. Should have mentioned that.
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Sat Mar 04, 2006 1:01 am    Post subject: Reply with quote

Hello all. Here is an updated release for now, since egghelp has not updated yet.

-link expired-
_________________
; Answer a few unanswered posts!


Last edited by incith on Sun Mar 05, 2006 4:50 am; edited 1 time in total
Back to top
View user's profile Send private message
Luniz2k1
Voice


Joined: 17 Sep 2003
Posts: 19

PostPosted: Sat Mar 04, 2006 1:13 am    Post subject: Reply with quote

Thank you.
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Sun Mar 05, 2006 4:51 am    Post subject: Reply with quote

I've created 1.9_r5, which will fetch the top result it finds from a multiple results list.

So if you search for: !weather rome, italy

Instead of "More than one result found.." it will now display the weather, etc.

-link expired-
_________________
; Answer a few unanswered posts!


Last edited by incith on Sun Mar 05, 2006 2:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Fubar
Voice


Joined: 27 Feb 2006
Posts: 7

PostPosted: Sun Mar 05, 2006 8:19 am    Post subject: Reply with quote

works great , dont suppose there is anyway where i could get the out put on differant lines is there ?
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Sun Mar 05, 2006 1:49 pm    Post subject: Reply with quote

Fubar wrote:
works great , dont suppose there is anyway where i could get the out put on differant lines is there ?


Wow that's so weird. I'll add the code to do this today, I've always thought I had it like this. The next version, the "seperator" variable will actually work! Silly me. Also setting it to "\n" like in my other scripts will put the results onto seperate lines (in the next version).

Edit: I think this will be a bad idea since it will have so much data on all the lines.. Location, Humidity, Dew Point, Temperature, Wind, Windchill, etc.. that's a lot of lines. I'll have to do it differently to have a few things on one line (Temperature, High/Low, etc.. then next line will do Humidity, Dew Point, etc..)

Example..
IRC wrote:
(10:59:45) <@visitant> Edmonton International, Alberta (53.3N/113.6W, 723M)
(10:59:45) <@visitant> Last Updated: 10:00 AM MST
(10:59:45) <@visitant> Dew Point: -6F (-21C)
(10:59:45) <@visitant> Humidity: 92%
(10:59:45) <@visitant> Temperature: -4F (-20C)
(10:59:47) <@visitant> High/Low: 15/10F (-9/-11C)
(10:59:49) <@visitant> Conditions: Clear
(10:59:51) <@visitant> UV Index: 2/16
(10:59:53) <@visitant> Wind: Calm

_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Sun Mar 05, 2006 2:18 pm    Post subject: Reply with quote

1.9_r7 released for Fubar above.
-link expired-

The new variable "seperate_lines" will allow you to put the output onto three seperate lines. It will look like this:
IRC wrote:
(11:13:11) <@visitant> Edmonton International, Alberta (53.3N/113.6W, 723M); Last Updated: 11:00 AM MST
(11:13:11) <@visitant> Dew Point: 1F (-17C); Humidity: 92%; Temperature: 3F (-16C); High/Low: 15/10F (-9/-11C)
(11:13:11) <@visitant> Conditions: Partly Cloudy; UV Index: 2/16; Wind: Calm


The "seperator" variable will now work properly so you can change the "; " to whatever you want. If you set it to "\n" then every result will be put onto a seperate line as in the example above this post.

Regards~
_________________
; Answer a few unanswered posts!


Last edited by incith on Fri Apr 28, 2006 7:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
Fubar
Voice


Joined: 27 Feb 2006
Posts: 7

PostPosted: Mon Mar 06, 2006 7:44 am    Post subject: Reply with quote

cool cheers mate Smile not too fussed myself on how many lines it spouts out works like a charm , thank you once again Smile
Back to top
View user's profile Send private message
Stan
Voice


Joined: 13 Mar 2006
Posts: 6

PostPosted: Mon Mar 13, 2006 7:05 pm    Post subject: Reply with quote

I have v1.9_r7 of this script running Windrop. Forecasts do not work, with a message in the eggdrop console saying Tcl error [incith::weather::forecast_message]: can't read "day1": no such variable

I have been using this script for many months and everything has always worked. Any ideas on how to fix this would be appreciated. Thanks for a great script!
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Mon Apr 03, 2006 9:43 am    Post subject: Reply with quote

Hello, which location is giving you this error?
Code:
(07:42:44) (@incith) !fc yeg
(07:42:47) <@visitant> Edmonton International, Alberta Forecast (High/Low); Monday:
                       Partly Cloudy, 39/24F (4/-4C); Tuesday: Overcast, 46/24F
                       (8/-4C); Wednesday: Partly Cloudy, 41/30F (5/0C); Thursday:
                       Partly Cloudy, 41/30F (5/0C); Friday: Overcast, 44/35F (6/1C)

_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
Stan
Voice


Joined: 13 Mar 2006
Posts: 6

PostPosted: Mon Apr 03, 2006 10:51 am    Post subject: Reply with quote

YOW gives me the error.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page 1, 2, 3 ... 19, 20, 21  Next
Page 1 of 21

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber