| View previous topic :: View next topic |
| Author |
Message |
Mysticales Voice
Joined: 18 Oct 2011 Posts: 26
|
Posted: Sat Oct 29, 2011 12:52 pm Post subject: Question about Gseen issue and Weather Google API. |
|
|
Hello, was wondering if someone had an idea for a couple things. I have the Gseen mod installed. Which uses the !seen command to use, However it seems the mod also wants to respond if someone puts the word "seen" and a username in a phrase without the trigger. Say like "Hey Username, have you seen that new movie?" Bot will think it was a seen username command oddly. Dont know where that issue comes from.
Also have http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&id=1707 for the Weather that uses Googles API. Very nice indeed. However was wondering, if I wanted to add the ability to add forecasts in it. Could that be done easily? (Or even change it so !weather does just the current, and then have !forecast do the other)
Only other thing about that script I couldnt figure out, how could I force it to show both F and C temps? Thanks to any help I can get. =) _________________ ~Battlez-avec la Mystique?~ |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Oct 29, 2011 1:46 pm Post subject: |
|
|
Hi,
Please check your gseen.conf file, as this is where all bindings ("commands") are set up:
| Code: | ######
#####
### AI Settings
#####
######
# binds to the ai seen
bind pubm - "% ${nick}*seen*" *pubm:seen
bind pubm - "% ${botnet-nick}*seen*" *pubm:seen
bind pubm - "% ${nick}*gesehen*" *pubm:seen
bind pubm - "% ${botnet-nick}*gesehen*" *pubm:seen
bind pubm - "% ${nick}*seenstats*" *pub:!seenstats
bind pubm - "% ${botnet-nick}*seenstats*" *pub:!seenstats
|
These pubm bindings are patterns your eggdrop looks for in search for a seen-request. Removing these and reloading your eggdrop should prevent your eggdrop from responding to any such lines of text _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Mysticales Voice
Joined: 18 Oct 2011 Posts: 26
|
Posted: Sat Oct 29, 2011 2:08 pm Post subject: |
|
|
| Code: | ### AI Settings
#####
######
# this setting configures on which sentences your bot should
# attempt to do an ai-seen. Each of them is a simple wildcard
# mask. Set this to "" if you want to deactivate ai-seens or
# create more precise masks if the bots reacts too often.
set ai-seen-binds {
"${nick}*!seen*"
"${botnet-nick}*!seen*"
"${nick}*!gesehen*"
"${botnet-nick}*!gesehen*"
} |
Is how I changed it up, Just added the ! to it, seems to have fixed it. I think. One time it gave me double results, but not the 2nd time, so guess was a glitch.
Any idea on the weather stuff? _________________ ~Battlez-avec la Mystique?~ |
|
| Back to top |
|
 |
spithash Master

Joined: 12 Jul 2007 Posts: 248 Location: Libera
|
Posted: Sun Oct 30, 2011 11:14 am Post subject: |
|
|
and once again, stop posting wherever you feel like it. _________________ Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl |
|
| Back to top |
|
 |
|