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 Previous  1, 2, 3 ... 12, 13, 14 ... 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
Exedore
Halfop


Joined: 27 Jan 2008
Posts: 43

PostPosted: Sat Oct 08, 2011 11:48 am    Post subject: Reply with quote

Can be displayed in spanish?
Back to top
View user's profile Send private message
4everlearning
Voice


Joined: 26 Jan 2011
Posts: 8

PostPosted: Sun Jan 15, 2012 12:01 am    Post subject: Reply with quote

Hey guys I am missing something. I have this script running on one net in many channels and it works great. it's been there since the release of v2.9a.
My issue is that I am trying to set this up on a second net running in two channels, I of course have no problem getting the bot to connect and join the channels. However i can't get the bot to respond to the weather command. I have done ".chanset #revolusongs +weather" but still no responce from the bot and the bot doesn't show the command being seen in telnet.
here is the chaninfo
Quote:

<Boing> »» Settings for dynamic channel #revolusongs:
<Boing> »» Protect modes (chanmode): +tn
<Boing> »» Idle Kick after (idle-kick): DON'T!
<Boing> »» stopnethack: DON'T!
<Boing> »» aop-delay: 5:30
<Boing> »» revenge-mode: 0
<Boing> »» ban-type: 3
<Boing> »» ban-time: 120
<Boing> »» exempt-time: 60
<Boing> »» invite-time: 60
<Boing> »» Other modes:
<Boing> »» -inactive -statuslog -secret +shared
<Boing> »» +greet -seen +cycle +dontkickops
<Boing> »» +protectops -protectfriends -revenge -revengebot
<Boing> »» -bitch -autoop -autovoice -nodesynch
<Boing> »» -enforcebans +dynamicbans +userbans -autohalfop
<Boing> »» -protecthalfops -static
<Boing> »» +dynamicexempts +userexempts +dynamicinvites +userinvites
<Boing> »» User defined channel flags:
<Boing> »» +weather
<Boing> »» flood settings: chan ctcp join kick deop nick
<Boing> »» number: 15 3 5 3 3 5
<Boing> »» time : 60 60 60 10 10 60

Thanks for all the help, I know I am just missing something very simple
Back to top
View user's profile Send private message
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Sun Jan 15, 2012 5:18 am    Post subject: Reply with quote

Did you check if the channel has +c mode on? on dalnet for example, c mode blocks bold and colors from everyone.
_________________
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
4everlearning
Voice


Joined: 26 Jan 2011
Posts: 8

PostPosted: Sun Jan 15, 2012 9:19 pm    Post subject: Reply with quote

Thanks for the reply, yes the channel allows both bold and colors. both nets run Unrealircd with Anope and neostats.

One more thing. I have installed Fordlawnmower's horoscope script to make sure that the bot is working correctly. I did ".chanset #revolusongs +horo" for that script and all works fine with that script. Just for some reason this weather script isn't responding.
Back to top
View user's profile Send private message
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Mon Jan 16, 2012 4:01 am    Post subject: Reply with quote

Is it loaded after http.tcl?
_________________
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
shadrach
Halfop


Joined: 14 Dec 2007
Posts: 74

PostPosted: Mon Jan 16, 2012 6:21 pm    Post subject: Reply with quote

Replace every instance of http://wunderground.com in the script with http://classic.wunderground.com.
Back to top
View user's profile Send private message MSN Messenger
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Tue Jan 17, 2012 7:44 am    Post subject: Reply with quote

Well, this is my working version: 2.9a http://bsdunix.info/eggdrop/scripts/incith-weather.tcl

I hope this helps.
_________________
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
speechles
Revered One


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

PostPosted: Wed Jan 18, 2012 2:53 am    Post subject: Reply with quote

4everlearning wrote:
Thanks for the reply, yes the channel allows both bold and colors. both nets run Unrealircd with Anope and neostats.

One more thing. I have installed Fordlawnmower's horoscope script to make sure that the bot is working correctly. I did ".chanset #revolusongs +horo" for that script and all works fine with that script. Just for some reason this weather script isn't responding.


FordLawnmower's script isn't really that great. Sure he has that "hawkee" forum where he has a few things eggdrop related offered. But his eggdrop/tcl scripts look more like bad ports of mIRC scripts. Basically, there are better ways to do all this and Incith was quite efficient and simplistic in his approaches. I keep this same style in my modifications to his scripts. So these are written to be eggdrop scripts taking advantage of everything eggdrop can do. In that, they afford you some extra features: flood system, trigger system, configuration options, split options, user defaults, etc. Most of Incith's script have a constant set of configuration settings that are always present in every single one. I've also kept this in any scripts of mine based off Incith's scripts. This allows you to become familiar with the "Incith family" of scripts easily.

http://ereader.kiczek.com/scripts
This is my official repository for my scripts. Most of these scripts cannot be found on egghelp's tcl archive. They can only be found within forum threads.

Finally, the reason the script isn't working for you is because it relies on http package. Specifically, http package 2.3 .... Is this other bot an windrop (windows + eggdrop)?. If so, you may be able to simply source http package like a tcl script, as basically that is all the http package really is. There is no actual "object" compiled and created. It's entirely written in tcl. So sourcing it can suffice the same as having it natively in your environment paths. Just make sure that you do not have it provided via your environment _AND_ provide it via sourcing. You cannot have conflicting packages present this will crash eggdrop.

Incith has quit the scene for a bit, but his spirit shall live on forever within his scripts. Wink

Incith, if you are reading this. To Jordan, I apologize. If were anything I said or did caused your departure.. My bad... Sorry ;/
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
Hellster
Voice


Joined: 10 Aug 2006
Posts: 22

PostPosted: Sat Jan 21, 2012 9:11 am    Post subject: Reply with quote

Hey guys, i'm not sure when exactly happened, but it seems the weather site may or may not have changed something, which in turn is making the script give the following error

Tcl error [incith::weather::weather_handler]: invalid command name "clock"

I only noticed it today so i can only assume it's something recent.
If anyone knows a way to fix it that would be most appreciated, thanks.

PS: running 2.9a
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 22, 2012 2:10 pm    Post subject: Reply with quote

Hellster wrote:
Tcl error [incith::weather::weather_handler]: invalid command name "clock"

I only noticed it today so i can only assume it's something recent.
If anyone knows a way to fix it that would be most appreciated, thanks.

PS: running 2.9a


http://forum.egghelp.org/viewtopic.php?t=18587
Your mixing tcl8.4 and a pre-compiled tcl8.5 bot. This causes the issue. Read what thommey has to say at the thread above.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
4everlearning
Voice


Joined: 26 Jan 2011
Posts: 8

PostPosted: Thu Feb 09, 2012 4:15 am    Post subject: Reply with quote

Thank you guys, I figured it out. Not sure how it got changed but in the script the trigger was set to both . and ! which cause a parsing problem.

Speechles, I wasn't trying to say there was anything wrong with the script. I honestly thought i was having issues with my bot. this script and all other incith's scripts I have used, have worked flawlessly.
Back to top
View user's profile Send private message
FightingNavyman
Voice


Joined: 18 Jan 2011
Posts: 35

PostPosted: Sun Mar 18, 2012 4:29 am    Post subject: Reply with quote

how can i modify it to make it look like this.. im new at this Razz

<+Amy> Baytown, Texas (29.8°N 95.0°W) - Updated: 02:56 CDT
<+Amy> Conditions: Mostly Cloudy - Temperature: 22.2°C (72°F) -
<+Amy> Dew Point: 21°C (70°F) - Humidity: 92%
<+Amy> Wind: SSE at 7.0 MPH (11.3 KPH) - High/Low: 27/21°C (81/70°F)
Back to top
View user's profile Send private message
trickle
Voice


Joined: 02 Jun 2012
Posts: 3

PostPosted: Sat Jun 02, 2012 1:58 am    Post subject: Script stopped working today (6/2/2012) Reply with quote

Hi,

I have been running this tcl for about 3 months problem free after applying the fixes recommended in this forum. Specifically, I changed all instances of http://wunderground.com to http://classic.wunderground.com and I think one other which I am not remembering right now. Unfortunately, today (June 2nd 2012) the tcl has stopped working and I believe it is because the format of the wunderground site may have changed. The tcl still is able to recognize when I search for invalid city names with !time or !weather, so I am confident that I am still able to reach the site. However, no results are returned when I search for legitimate city names. Any help would be appreciated.

Thanks for this great tcl, and any help you can provide.
Back to top
View user's profile Send private message
trickle
Voice


Joined: 02 Jun 2012
Posts: 3

PostPosted: Sat Jun 02, 2012 2:02 am    Post subject: Sorry, disregard previous Reply with quote

Sorry, the TCL is now working again. I never made any changes to fix it; it just started replying again.

Thank you again for the TCL, it has worked great for me.
Back to top
View user's profile Send private message
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Fri Jun 15, 2012 10:46 pm    Post subject: Reply with quote

Problem trying to get weather for Bristol UK

This is the error I get in Telnet:

[22:43] incith:weather-2.8r: <nck/#chan> .weather Bristol UK
[22:43] Tcl error [incith::weather::weather_handler]: unable to convert date-time string "January</option><option value="2">February</option><option value="3">March</option><option value="4">April</option><option value="5">May</option><option selected="selected" value="6">June</option><option value="7">July</option><option value="8">August</option><option value="9">September</option><option value="10">October</option><option value="11">Novem

Can anyone help? Thank you.
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 ... 12, 13, 14 ... 19, 20, 21  Next
Page 13 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