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 

UNOFFICIAL incith-google 2.1x (Nov30,2o12)
Goto page Previous  1, 2, 3 ... 45, 46, 47 ... 56, 57, 58  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
romeo5k
Halfop


Joined: 28 Jul 2006
Posts: 46

PostPosted: Sun Dec 26, 2010 12:23 pm    Post subject: conflict somewhere Reply with quote

Code:
[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.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Trixar_za
Op


Joined: 18 Nov 2009
Posts: 143
Location: South Africa

PostPosted: Sun Dec 26, 2010 1:17 pm    Post subject: Reply with quote

Search for this in the script:
Code:
    variable wiki_binds "w wiki wikipedia"
and change it to
Code:
    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:
    variable my_customs {
      "gw:g:weather %search%"

_________________
http://www.trixarian.net/Projects
Back to top
View user's profile Send private message Visit poster's website
romeo5k
Halfop


Joined: 28 Jul 2006
Posts: 46

PostPosted: Mon Dec 27, 2010 1:46 am    Post subject: ty Reply with quote

thanks...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Tannn3r
Voice


Joined: 23 Dec 2010
Posts: 25

PostPosted: Mon Dec 27, 2010 1:59 am    Post subject: Reply with quote

I still need an answer
Back to top
View user's profile Send private message
Trixar_za
Op


Joined: 18 Nov 2009
Posts: 143
Location: South Africa

PostPosted: Mon Dec 27, 2010 2:17 am    Post subject: Reply with quote

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?
_________________
http://www.trixarian.net/Projects
Back to top
View user's profile Send private message Visit poster's website
Tannn3r
Voice


Joined: 23 Dec 2010
Posts: 25

PostPosted: Wed Dec 29, 2010 5:28 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
IuClik
Voice


Joined: 24 Apr 2008
Posts: 9

PostPosted: Sat Jan 22, 2011 4:59 pm    Post subject: Reply with quote

i try the

Code:
< 22:01:11> *22:54 * <@IuClik> !wiki .ro FreeBSD


eggdrop give me error on DCC

Code:
< 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
Back to top
View user's profile Send private message
Trixar_za
Op


Joined: 18 Nov 2009
Posts: 143
Location: South Africa

PostPosted: Sun Jan 23, 2011 2:50 am    Post subject: Reply with quote

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
_________________
http://www.trixarian.net/Projects
Back to top
View user's profile Send private message Visit poster's website
IuClik
Voice


Joined: 24 Apr 2008
Posts: 9

PostPosted: Sun Jan 23, 2011 5:17 am    Post subject: Reply with quote

phx Very Happy working fine, another question i need temperature in Celsius not in F

Code:
< 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? Rolling Eyes
Back to top
View user's profile Send private message
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Sun Jan 23, 2011 10:29 am    Post subject: Reply with quote

Try this. After
Code:
          set desc "$w1\: $w2$w3$w4$w5; $f1: $f2 \($f3\); $f4: $f5 \($f6\); $f7: $f8 \($f9\)"
add lines
Code:
          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/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
IuClik
Voice


Joined: 24 Apr 2008
Posts: 9

PostPosted: Sun Jan 23, 2011 11:10 am    Post subject: Reply with quote

username wrote:
Try this. After
Code:
          set desc "$w1\: $w2$w3$w4$w5; $f1: $f2 \($f3\); $f4: $f5 \($f6\); $f7: $f8 \($f9\)"
add lines
Code:
          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:
< 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)
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Sun Jan 23, 2011 11:36 am    Post subject: Reply with quote

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

Code:
< 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? Rolling Eyes


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:
Quote:
<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. Wink
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
IuClik
Voice


Joined: 24 Apr 2008
Posts: 9

PostPosted: Sun Jan 23, 2011 11:38 am    Post subject: Reply with quote

i resolved this / i put to variable google_country "ca" an it`s work in Celsius / phx all for help Razz
Back to top
View user's profile Send private message
IuClik
Voice


Joined: 24 Apr 2008
Posts: 9

PostPosted: Sun Jan 23, 2011 11:40 am    Post subject: Reply with quote

Code:
<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:
< 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?
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Sun Jan 23, 2011 11:45 am    Post subject: Reply with quote

IuClik wrote:
can i change to .ro


Code:
    # 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.
_________________
speechles' eggdrop tcl archive
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 Previous  1, 2, 3 ... 45, 46, 47 ... 56, 57, 58  Next
Page 46 of 58

 
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