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 

Question about Gseen issue and Weather Google API.

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


Joined: 18 Oct 2011
Posts: 26

PostPosted: Sat Oct 29, 2011 12:52 pm    Post subject: Question about Gseen issue and Weather Google API. Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Oct 29, 2011 1:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mysticales
Voice


Joined: 18 Oct 2011
Posts: 26

PostPosted: Sat Oct 29, 2011 2:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Sun Oct 30, 2011 11:14 am    Post subject: Reply with quote

and once again, stop posting wherever you feel like it.
_________________
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
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