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.

Weather script help

Support & discussion of released scripts, and announcements of new releases.
Post Reply
B
Bonnie
Voice
Posts: 23
Joined: Thu Dec 09, 2004 11:20 am

Weather script help

Post by Bonnie »

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
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Re: Weather script help

Post by willyw »

Bonnie wrote:I have been running a bot with just a weather script on it for a long time.
Which one?
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? ... &start=165
is the place to look for it.

I hope this helps.
B
Bonnie
Voice
Posts: 23
Joined: Thu Dec 09, 2004 11:20 am

Post by Bonnie »

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. :)
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

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: Select all

package require http 2.3
setudef flag weather
Right under that you want to place the code found below.

Code: Select all

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: Select all

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.
B
Bonnie
Voice
Posts: 23
Joined: Thu Dec 09, 2004 11:20 am

Post by Bonnie »

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 :)
Bonnie
Post Reply