PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Request for scripts => Topic started by: Aptem on 09 January, 2011, 19:10:22

Title: Universal script Weather
Post by: Aptem on 09 January, 2011, 19:10:22
Hello, could make a script that queries on the menu requested by the city showing the weather for 3 days  ???
"$UserCommand 1 3 Universal script Weather$<%[mynick]> %[line:Enter your city]&#124;")
QuoteKharkov: Evening 09 Jan, Sun Overcast Temperature -1 ..-3 C, pressure 758 .. 760 mm hg, wind south-east, 3m/s
Kharkov: night 10 Jan, Mon Cloudy, temperature -1 ..-3 C, pressure 759 .. 761 mm hg, wind south-east, 3m/s
Kharkov: Morning 10 Jan, Mon Cloudy, temperature -2 ..-4 C, pressure 759 .. 761 mm hg, wind south-east, 4m/s
Kharkov: Day 10 Jan, Mon Overcast Temperature -3 ..-5 C, pressure 759 .. 761 mm hg, wind south-east, 3 m/s
or any other city, which users enter the menu  :(
Sorry for my terrible English.  :-\
Thank you!
Title: Re: Universal script Weather
Post by: Aptem on 06 March, 2011, 14:10:19
Thank you that did not respond, script has already made yourself  ;)