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.
Old posts that have not been replied to for several years.
W
Win a 2
Post
by Win a 2 » Mon Jul 26, 2004 6:59 pm
hi,
i want to add a userdefined channelflag to the global-chanset.
(+nopubseens from gseen.mod).
however, i don't get it working.
just putting '+nopubseens' into it in the eggdrop.conf doesn't work.
any ideas? (except of rewriting the src of the eggy or the mod in any ways)
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Mon Jul 26, 2004 7:59 pm
In the latest (dev) release of gseen you'll find the following in gseen.conf:
Code: Select all
######
#####
### outdated settings (only important for eggdropv1.4 users)
#####
######
# channels where you do not want your bot to reply to public queries
set no-pub-seens ""
# channels where you want your bot to send replies via notice to the user and
# not to the channel
set quiet-seens ""
# same as quiet-seens but for AI seen
set quiet-ai-seens ""
# channels where you do not want your bot to log seen data
set no-seendata ""
I have discovered that they are far from "outdated" and if set all works just fine.
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
W
Win a 2
Post
by Win a 2 » Tue Jul 27, 2004 6:35 am
Code: Select all
# channels where you do not want your bot to reply to public queries
set no-pub-seens ""
shout i set this to "*"?
KrzychuG
Master
Posts: 306 Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:
Post
by KrzychuG » Tue Jul 27, 2004 7:23 am
### outdated settings (only important for eggdropv1.4 users)
Better try
.chanset #channel +nopubseens (this should work on 1.6.x)
Que?
W
Win a 2
Post
by Win a 2 » Tue Jul 27, 2004 9:24 am
sure, but i want it set by default. for every new channel i add :\
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Tue Jul 27, 2004 10:04 am
KrzychuG: It doesn't! That is why I made my original post. It's flawed.
shout i set this to "*"?
Add each channel that you do not want to use the "!seen" trigger in ie. set no-pub-seens "#chan1 #chan2 #chan3"
The same applies for the "no-seendata" setting ie. prevents the bot from storing data for channels where you do not wish the module to work in.
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
KrzychuG
Master
Posts: 306 Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:
Post
by KrzychuG » Tue Jul 27, 2004 11:50 am
Try this:
Code: Select all
# channels where you do not want your bot to reply to public queries
set no-pub-seens "[channels]"
Que?
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Tue Jul 27, 2004 12:17 pm
just putting '+nopubseens' into it in the eggdrop.conf doesn't work.
Nope, that will never work.
If you have a knowledge of C you can edit gseen.c & gseencmds.c.
gseen.c
Code: Select all
#if EGG_IS_MIN_VER(10503)
initudef(1, "noseendata", 1);
initudef(1, "quietseens", 1);
initudef(1, "quietaiseens", 1);
initudef(1, "nopubseens", 1);
#endif
gseencmds.c:
Code: Select all
static int nopub(char *chan)
{
char buf[121], *b;
Context;
strncpy(buf, no_pub, 120);
buf[120] = 0;
b = buf;
while (b[0])
if (!strcasecmp(chan, newsplit(&b)))
return 1;
#if EGG_IS_MIN_VER(10503)
if (ngetudef("nopubseens", chan))
return 1;
#endif
return 0;
}
A suggestion would be to contact the author at
gseen.mod@visions-of-fantasy.de with your suggestion.
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
W
Win a 2
Post
by Win a 2 » Tue Jul 27, 2004 8:49 pm
i don't know C.
and gquann stopped scripting
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Tue Jul 27, 2004 10:05 pm
I was unaware that the author had ceased development of gseen.
Well, another way would be to write a tcl script which, when a channel is added to the bots' chanfile, could set the various options on.
Code: Select all
channel set $chan +quietseens
channel set $chan -quietaiseens
The +/-nopubseens & +/-noseendata being set in gseen.conf.
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM