This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

UNOFFICIAL incith-google 2.1x (Nov30,2o12)

Support & discussion of released scripts, and announcements of new releases.
Post Reply
r
romeo5k
Halfop
Posts: 46
Joined: Fri Jul 28, 2006 9:02 am

conflict somewhere

Post by romeo5k »

Code: Select all

[10:07] <Romeo5k> !gw 77498
[10:08] <~T2> You searched for 77498                   For more information about searching WikiTemp, see Help.  No page title matches  No page text matches Note: Unsuccessful searches are often caused by searching for common words like "have" and "from", which are not indexed, or by specifying more than one search term (only pages containing all of the search terms will appear in the result).
[10:08] <Romeo5k> !w 77498
[10:08] <~T2> Arrondissement of Meaux | The arrondissement of Meaux is an arrondissement of France, located in the Seine-et-Marne département, in the Île-de-France région. It has 8 cantons and 128 communes. @ http://en.wikipedia.org/wiki/Arrondissement_of_Meaux
[10:08] <~T2> Sugar Land, Texas (29.6°N/95.6°W); Updated: 10:05 AM CST (December 26, 2010); Conditions: Clear; Temperature: 37.5°F (3.1°C); Windchill: 38°F (3°C); High/Low: 49/27°F (9/-2°C); UV: 2/16; Humidity: 71%; Dew Point: 29°F (-2°C); Pressure: 30.46 in/1031.4 hPa; Wind: North at 3.0 MPH (4.8 KPH)

Heres the ting, a long time ago, you used to use !gw. i gues it stopped. Fine by me. I like incithweather 2.8p alot better than anything else. But some how, now wiki is intervening. As u can see i looked upo the weather in 77498, and it brought it up. But it also brought up something i dont know about. can i disable whatever it is from the !w command. As !w and !weather belong to incith weather.
thanks.
User avatar
Trixar_za
Op
Posts: 143
Joined: Wed Nov 18, 2009 1:44 pm
Location: South Africa
Contact:

Post by Trixar_za »

Search for this in the script:

Code: Select all

    variable wiki_binds "w wiki wikipedia"
and change it to

Code: Select all

    variable wiki_binds "wiki wikipedia"
and your problem should be solved.

Actually, adding the custom trigger below you can add !gw again if you wanted:

Code: Select all

    variable my_customs {
      "gw:g:weather %search%"
r
romeo5k
Halfop
Posts: 46
Joined: Fri Jul 28, 2006 9:02 am

ty

Post by romeo5k »

thanks...
User avatar
Tannn3r
Voice
Posts: 25
Joined: Thu Dec 23, 2010 11:58 pm

Post by Tannn3r »

I still need an answer
User avatar
Trixar_za
Op
Posts: 143
Joined: Wed Nov 18, 2009 1:44 pm
Location: South Africa
Contact:

Post by Trixar_za »

neocratic: Time is a little harder to fix because there is no way of referencing the match. It used to use a image of a clock, but google changed that making it way harder to check if time is being searched for. I'll see what I can figure out, but no promises.

Tannn3r: I'm unsure about how to fix your problem. The http.tcl link I gave it did have the line that your getting a error for in it, so either the file isn't being read correctly or it's corrupted somehow. So maybe the scripts your downloading and uploading are getting corrupted somehow enroute.

romeo5k: My initial response to you would have been sarcastic based on the inability of most people to read the pretty descriptive configuration section of script coupled with the inability to change small and simple configurations within it. Not to mention the continual and false belief that a feature they may find useful/unuseful is a shared sentiment by others. I ended up being clear, concise and semi-professional. See what a little cynicism has gotten you?
User avatar
Tannn3r
Voice
Posts: 25
Joined: Thu Dec 23, 2010 11:58 pm

Post by Tannn3r »

Some must've gotten messed up from my SSH client, I tried a new one (FileZilla) and it's been working fine. Thanks for the help.
I
IuClik
Voice
Posts: 9
Joined: Thu Apr 24, 2008 5:21 am

Post by IuClik »

i try the

Code: Select all

< 22:01:11> *22:54 * <@IuClik> !wiki .ro FreeBSD
eggdrop give me error on DCC

Code: Select all

< 22:01:11> *22:54 * <(SOLIDHELP> [22:57] Tcl error [incith::google::public_message]: Unknown option -urlencoding, must be: -accept, -proxyfilter, -proxyhost, -proxyport, -useragent
for translate and other same error, search youtube work perfect, help please
User avatar
Trixar_za
Op
Posts: 143
Joined: Wed Nov 18, 2009 1:44 pm
Location: South Africa
Contact:

Post by Trixar_za »

You probably need http.tcl 2.5 because it seems your using an older one right now. You can get a copy of mine here - just load it before this script in your eggdrop.conf
I
IuClik
Voice
Posts: 9
Joined: Thu Apr 24, 2008 5:21 am

Post by IuClik »

phx :D working fine, another question i need temperature in Celsius not in F

Code: Select all

< 23:01:11> *11:14 * <@IuClik> !g weather chisinau
< 23:01:11> *11:14 * <@SOLIDHELP> | GOOGLE |Weather for Chisinau, Moldova: 27°F, Current: Snow, Wind: N at 7 mph; Humidity: 93%; Sun: Chance of snow (32°F|19°F); Mon: Chance of snow (30°F|17°F); Tue: Clear (28°F|8°F)
Have solution? :roll:
User avatar
username
Op
Posts: 196
Joined: Thu Oct 06, 2005 9:20 am
Location: Russian Federation, Podolsk
Contact:

Post by username »

Try this. After

Code: Select all

          set desc "$w1\: $w2$w3$w4$w5; $f1: $f2 \($f3\); $f4: $f5 \($f6\); $f7: $f8 \($f9\)"
add lines

Code: Select all

          regexp {(\d+)} $w2 {} w2far
          set w2cels "[expr ($w2far - 32)*5./9]°C"
          set desc "$w1\: $w2cels$w3$w4$w5; $f1: $f2 \($f3\); $f4: $f5 \($f6\); $f7: $f8 \($f9\)"
I didnt test it.
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
I
IuClik
Voice
Posts: 9
Joined: Thu Apr 24, 2008 5:21 am

Post by IuClik »

username wrote:Try this. After

Code: Select all

          set desc "$w1\: $w2$w3$w4$w5; $f1: $f2 \($f3\); $f4: $f5 \($f6\); $f7: $f8 \($f9\)"
add lines

Code: Select all

          regexp {(\d+)} $w2 {} w2far
          set w2cels "[expr ($w2far - 32)*5./9]°C"
          set desc "$w1\: $w2cels$w3$w4$w5; $f1: $f2 \($f3\); $f4: $f5 \($f6\); $f7: $f8 \($f9\)"
I didnt test it.
not work correct


Code: Select all

< 23:01:11> *17:05 * <@IuClik> !g weather chisinau
< 23:01:11> *17:05 * <@SOLIDHELP> | GOOGLE | Weather for Chisinau, Moldova: -2.22222222222°C, Current: Snow, Wind: N at 12 mph; Humidity: 86%; Sun: Chance of snow (32°F|15°F); Mon: Chance of snow (32°F|17°F); Tue: Clear (30°F|6°F)
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

IuClik wrote:phx :D working fine, another question i need temperature in Celsius not in F

Code: Select all

< 23:01:11> *11:14 * <@IuClik> !g weather chisinau
< 23:01:11> *11:14 * <@SOLIDHELP> | GOOGLE |Weather for Chisinau, Moldova: 27°F, Current: Snow, Wind: N at 7 mph; Humidity: 93%; Sun: Chance of snow (32°F|19°F); Mon: Chance of snow (30°F|17°F); Tue: Clear (28°F|8°F)
Have solution? :roll:
You are using the default ".com" server. This will use Fahrenheit. If you want Celsius you need to use a server in a location that uses it, such as below:
<speechles> !g .fr weather:paris
<sp33chy> Météo à Paris: 5 °C, Actuellement : Nuageux, Vent : N à 16 km/h; Humidité : 87 %; dim.: Nuageux dans l'ensemble (4°C|5°C); lun.: Nuageux dans l'ensemble (2°C|6°C); mar.: Bruine (3°C|6°C)

<speechles> !g .de weather berlin
<sp33chy> Wetter für Berlin: 1 °C, Aktuell: Meistens bewölkt, Wind: N mit 8 km/h; Feuchtigkeit: 87 %; So.: Vereinzelt schnee (1°C|-1°C); Mo.: Vereinzelt schnee (1°C|-1°C); Di.: Vereinzelt schnee (2°C|-1°C)

<speechles> !g .nl weather amsterdam
<sp33chy> Weer voor Amsterdam: 6 °C, Actueel: Regen, Wind: N - 18 km/h; Luchtvochtigheid: 89%; zo: Kans op regen (8°C|2°C); ma: Kans op regen (7°C|1°C); di: Kans op regen (8°C|1°C)

<speechles> !g .ro weather chisinau
<sp33chy> Timpul probabil pentru Chişinău, Moldovae: -3 °C, În prezent: Zăpadă, Vânt: N cu 14 km/h; Umiditate: 93%; Du: Şanse de Zăpadă (0°C|-9°C); Lu: Şanse de Zăpadă (0°C|-8°C); Ma: Senin (-1°C|-14°C)

<speechles> !g weather 95482
<sp33chy> Weather for Ukiah, CA 95482: 37°F, Current: Sunny, Wind: NE at 2 mph; Humidity: 58%; Sun: Sunny (65°F|32°F); Mon: Partly cloudy (65°F|36°F); Tue: Sunny (68°F|37°F)
As you see, the server you use to make your query determines what type of temperature unit will be used. Hopefully this makes sense. ;)
I
IuClik
Voice
Posts: 9
Joined: Thu Apr 24, 2008 5:21 am

Post by IuClik »

i resolved this / i put to variable google_country "ca" an it`s work in Celsius / phx all for help :P
I
IuClik
Voice
Posts: 9
Joined: Thu Apr 24, 2008 5:21 am

Post by IuClik »

Code: Select all

<speechles> !g .ro weather chisinau
<sp33chy> Timpul probabil pentru Chişinău, Moldovae: -3 °C, În prezent: Zăpadă, Vânt: N cu 14 km/h; Umiditate: 93%; Du: Şanse de Zăpadă (0°C|-9°C); Lu: Şanse de Zăpadă (0°C|-8°C); Ma: Senin (-1°C|-14°C) 
can i change to .ro

Code: Select all

< 23:01:11> *17:33 * <@SOLIDHELP> | GOOGLE | Timpul probabil pentru Chi?in?u, Moldova: -3 °C, Оn prezent: Z?pad?, Vвnt: N cu 14 km/h; Umiditate: 93%; Du: ?anse de z?pad? (0°C|-9°C); Lu: ?anse de z?pad? (0°C|-8°C); Ma: Senin (-1°C|-14°C)
how to fix?
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

IuClik wrote:can i change to .ro

Code: Select all

    # set this to the default country you would like *.google.* sites to use when
    # no country is specified. default is "com". country is google extension.
    # http://google.*/ - co.uk, de, es, com, com.au, these are examples.
    # ------
    variable google_country "com" 
There also exists defaults for: Ebay, Dailymotion, Youtube, Wikipedia, Wikimedia and Translate. Check the config section at the top of the script. There are MANY options there to change these behaviors.
Post Reply