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 for gssen.conf

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming
View previous topic :: View next topic  
Author Message
Raiyan
Voice


Joined: 20 Jan 2010
Posts: 4

PostPosted: Wed Jan 20, 2010 5:00 am    Post subject: Question for gssen.conf Reply with quote

Hi

My problem is my bot replies twice for any !seen cmd, I couldn't single out why. I am a novice. Can anybody help from where this is generating the error?

also in the gseen.conf file, I want to know what is AI and the meaning of these lines -
set ai-seen-binds {
"${nick}*seen*"
"${botnet-nick}*seen*"
"${nick}*gesehen*"
"${botnet-nick}*gesehen*"
}

Because as far as I understand, the problem is generating from this point.
Please help. Thanks.
Back to top
View user's profile Send private message
Raiyan
Voice


Joined: 20 Jan 2010
Posts: 4

PostPosted: Wed Jan 20, 2010 5:09 am    Post subject: Reply with quote

Right now I found that (from http://forum.egghelp.org/viewtopic.php?t=16148), I have to unbind the ai-seens. How to do that?
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Wed Jan 20, 2010 5:18 am    Post subject: Reply with quote

Try
Code:
set ai-seen-binds {
"${nick}*seen*"
"${nick}*gesehen*"
}
if in most cases the eggdrop's nickname would be same as the botnet-nick for it anyway, so you'll only need to use ${nick} Smile
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Wed Jan 20, 2010 5:28 pm    Post subject: Reply with quote

Raiyan wrote:
Right now I found that (from http://forum.egghelp.org/viewtopic.php?t=16148), I have to unbind the ai-seens. How to do that?
Code:
set ai-seen-binds ""
set ai-seenstats-binds ""

Remove the entires from both lists then .restart your bot. The binds are effectively unbound.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
Raiyan
Voice


Joined: 20 Jan 2010
Posts: 4

PostPosted: Thu Jan 21, 2010 11:42 pm    Post subject: Reply with quote

Thx
Back to top
View user's profile Send private message
Raiyan
Voice


Joined: 20 Jan 2010
Posts: 4

PostPosted: Thu Jan 21, 2010 11:59 pm    Post subject: Reply with quote

TCL_no_TK wrote:
Try
Code:
set ai-seen-binds {
"${nick}*seen*"
"${nick}*gesehen*"
}
if in most cases the eggdrop's nickname would be same as the botnet-nick for it anyway, so you'll only need to use ${nick} Smile



After doing your modification I can find some convoluted infos abt !seen cmd by the bot -

<Raiyan> !seen Missing_____M
<Bangladesh> Raiyan, I found 8 matches to your query. These are the 5 most recent ones: Proletariat, PotatO, Missing_____M, lalala, ExclusivE. Proletariat (Sadhinbang@BBE12205.4DF8396C.95E0E7B9.IP) was last seen quitting #Sadhinbangla 12 hours 41 minutes ago (21.01. 09:11) stating "irc.sadhinbangla.com" after spending 51 minutes there.


and then -


<Raiyan> !seen Missing*
<Bangladesh> Raiyan, I found 2 matches to your query: Missing_____M, Missing_M_Now_Found. Missing_____M (Sadhinbang@BBE12205.4DF8396C.95E0E7B9.IP) was last seen changing his/her nick to PotatO on #Solution 17 hours 9 minutes ago (21.01. 04:43), but PotatO mysteriously dematerialized.

My Q is the two !seen nick cmd output should be same... but why the output is like this?
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: Sun Jan 24, 2010 11:02 am    Post subject: Reply with quote

Raiyan wrote:
<Raiyan> !seen Missing_____M
<Bangladesh> Raiyan, I found 8 matches to your query. These are the 5 most recent ones: Proletariat, PotatO, Missing_____M, lalala, ExclusivE. Proletariat (Sadhinbang@BBE12205.4DF8396C.95E0E7B9.IP) was last seen quitting #Sadhinbangla 12 hours 41 minutes ago (21.01. 09:11) stating "irc.sadhinbangla.com" after spending 51 minutes there.
This is a direct nickname search, this will match any nicks using the same ident@hostmask as the one you requested. A short-list of recent nicks using that same ident@hostmask is created. The last nickname used by the ident@hostmask will be your output.

Raiyan wrote:
<Raiyan> !seen Missing*
<Bangladesh> Raiyan, I found 2 matches to your query: Missing_____M, Missing_M_Now_Found. Missing_____M (Sadhinbang@BBE12205.4DF8396C.95E0E7B9.IP) was last seen changing his/her nick to PotatO on #Solution 17 hours 9 minutes ago (21.01. 04:43), but PotatO mysteriously dematerialized.
This is a wildcard search, this will be nickname based, and the last event that occured for that nickname will be shown. Which in this case you've changed nick to PotatO apparently. It will then check if PotatO is still in channel, if not, it mysteriously dematerialized.

Raiyan wrote:
My Q is the two !seen nick cmd output should be same... but why the output is like this?
One is a direct query, the other is a search query. The two should be different.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
pogue
Voice


Joined: 17 May 2009
Posts: 28

PostPosted: Mon Aug 02, 2010 1:29 am    Post subject: Reply with quote

I'm having a similar problem, but I am using "-" as the command character for seen, as I have a network bot in the channel that responds to the "!" character.

However, anytime anyone types "seen" in the channel it still responds, even though I've unbound everything.

Code:
set ai-seen-binds ""

# this is just the same as above, but if triggered it will
# not do an ai-seen, but display its seen-stats.
set ai-seenstats-binds ""

# when doing an AI seen, ignore the following words (otherwise
# the bot might give weird answers like "<bot> nick, bot was last seen..." :)
set ai-seen-ignore "*seen*"


Example:

Quote:
[12:26am] <~pogue> seen Backthen
[12:26am] <+BodyBuildingBot> I don't know who Backthen is.
[12:26am] <~pogue> -seen Backthen
[12:26am] <+BodyBuildingBot> pogue, Backthen (OhYe@h.tell.me.more) was last seen quitting #bodybuilding.com 4 hours ago (01.08. 21:25) stating "Quit: " after spending 9 minutes there.


Here's my whole gseen.conf: http://pastebin.com/Acs11M7Z

Any suggestions?
Thanks in advance,
pogue
_________________
Helpful Tools:

  • Notepad++: Windows Text Editor with TCL Syntax Highlighting
  • Pastebin TCL: For easy script collaboration
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming 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