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 

Weather script help

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Bonnie
Voice


Joined: 09 Dec 2004
Posts: 23

PostPosted: Thu Dec 08, 2011 7:18 pm    Post subject: Weather script help Reply with quote

I have been running a bot with just a weather script on it for a long time.
I have been updating it as needed. I need a new update.
But over time I have lost the ability to chat with the bot.
I really have no need to usually.
Now all the weather scripts I can fine have to have .channel #channel + weather
Is there nay nice ones out there that don't need me to chat with the bot?
Ours has a cue of .wx which is great.
It would be even better if a new one had that as a cue also.
Thanks in advance for all your help.
Bonnie
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Thu Dec 08, 2011 8:40 pm    Post subject: Re: Weather script help Reply with quote

Bonnie wrote:
I have been running a bot with just a weather script on it for a long time.


Which one?

Quote:

I have been updating it as needed. I need a new update.
But over time I have lost the ability to chat with the bot.
I really have no need to usually.
Now all the weather scripts I can fine have to have .channel #channel + weather
Is there nay nice ones out there that don't need me to chat with the bot?
Ours has a cue of .wx which is great.
It would be even better if a new one had that as a cue also.
...



If it were me, I would first concentrate on restoring my ability to chat with the bot.
I realize that you said that you rarely need to - but it is still very important, so that you can fully control it.

You didn't specify by what method - DCC chat or telnet - that you used to be able to log into your bot. Since you said "chat", I'm thinking that it was DCC chat.
If so, (meaning that DCC chat worked fine for you at some time in the past) perhaps it is something so simple as your hostmask has changed, and thus the bot doesn't recognize you.
Check this out: http://www.egghelp.org/faq.htm#010
(If you need to see an eggdrop.conf for reference, there is a complete one here: http://eggwiki.org/Eggdrop.conf )

While I prefer DCC chat myself, having telnet as an option is great too.
Especially at times like this - when you've suddenly lost the capability to DCC chat with bot.
You might like to check out:
http://forum.egghelp.org/viewtopic.php?p=98292#98292
Set it up one time, and just keep it handy for a rainy day.

For what it is worth, I like and use incith-weather. It does require using .chanset to set +weather though.
Mine is not up-to-date with the very latest version, but it seems to still work fine.
I believe that this:
http://forum.egghelp.org/viewtopic.php?t=10466&postdays=0&postorder=asc&start=165
is the place to look for it.

I hope this helps.
Back to top
View user's profile Send private message
Bonnie
Voice


Joined: 09 Dec 2004
Posts: 23

PostPosted: Thu Dec 08, 2011 8:51 pm    Post subject: Reply with quote

I understand about dcc and telnet and chatting with the bot.
I have used Dragonlord script and incith script.
I like Dragonlord better but I still can't chat with the bot.
It not any one fault, even the shell owner could sort it out.
I personally have no need until now to "contorl" the bot.
It does what good bots do. Just responds to triggers.
Thank you for all your infomation.
I'm still looking for a script that will just work. Smile
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: Thu Dec 08, 2011 11:55 pm    Post subject: Reply with quote

Using, say, for example... Incith:Weather 2.9a

Assuming the channel exists in your eggdrops channel records. For this to work the channel must exist otherwise you will get an "invalid channel" error attempting this... But lets assume the channel does exist to your eggdrop. All that would be required is you edit the script. Find this section of code:
Code:
package require http 2.3
setudef flag weather
Right under that you want to place the code found below.
Code:
channel set #YourChannel +weather
Save the script after adding this. Now kill and restart your bot. It will now function in #YourChannel without needing access to any partyline abilities. To activate in ALL channels your bot is in, don't add the code above, use the code below this instead.
Code:
channel set * +weather


Any script using chansets can be manipulated via scripting commands using the "channel set" command in the script. You would add this right after the "setudef" command which creates the flag that allows the "chanset" and "channel set" commands to work with it.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
Bonnie
Voice


Joined: 09 Dec 2004
Posts: 23

PostPosted: Fri Dec 09, 2011 11:40 am    Post subject: Reply with quote

Thank you so much.
I have the new weather script working in the main channel for now.
The bot config file only has the main channel listed. An * wouldn't work.
Thank you again for putting me on the right track.
I'm sure I can work out the rest of it now Smile
Bonnie
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
Page 1 of 1

 
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