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.

Question about Gseen issue and Weather Google API.

Support & discussion of released scripts, and announcements of new releases.
Post Reply
M
Mysticales
Voice
Posts: 26
Joined: Tue Oct 18, 2011 5:33 pm

Question about Gseen issue and Weather Google API.

Post by Mysticales »

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_arch ... ad&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?~
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Hi,
Please check your gseen.conf file, as this is where all bindings ("commands") are set up:

Code: Select all

######
#####
###   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
M
Mysticales
Voice
Posts: 26
Joined: Tue Oct 18, 2011 5:33 pm

Post by Mysticales »

Code: Select all

###   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?~
User avatar
spithash
Master
Posts: 249
Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:

Post by spithash »

and once again, stop posting wherever you feel like it.
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Post Reply