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.
n
nameless_
Post
by nameless_ » Sat Jan 11, 2003 4:56 pm
I have a little problem, I'm using windrop with stat.mod and if anybody types some stat trigger then the bot shows the statistics in a channel, i want that it would send a notice to this person who requested the stat
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Sat Jan 11, 2003 5:35 pm
You would ahve to change the source code of the stats.mod.
TO do this, you will need a source code version of this, the source code for eggdrop and the CGwin compiler.
FOr information compiling eggdrop under windows, see
http://windrop.sf.net/
n
nameless_
Post
by nameless_ » Sun Jan 12, 2003 6:46 am
what should I change in stats.mod source?
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Sun Jan 12, 2003 9:09 am
You should read the IRC RFC (RFC 1459).
This contains all the commands you will need to send to a IRC server.
When sending a message to a user or nickname, you use the format
PRIVMSG <destination> :<message here>
FOr notices, it's the same thing, hwoever you use NOTICE, instead of PRIVMSG`
mortician
Voice
Posts: 37 Joined: Sun Sep 22, 2002 6:35 pm
Location: Tsjakamaka
Contact:
Post
by mortician » Mon Jan 13, 2003 12:59 pm
from the README:
Channel settings:
-----------------
If you're using eggdrop 1.5 or later, you have some additional config options available via .chanset:
+quietstats
Bot will reply with a notice directly to the user instead of sending the reply to the channel
n
nameless_
Post
by nameless_ » Tue Jan 14, 2003 10:41 am
Code: Select all
set global-chanset {
+quietstats
-autoop -autovoice
}
I put that +quietstats to there in eggdrop.conf, but it doesn't seem to help, it still sends the stats to the channel
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Tue Jan 14, 2003 11:17 am
Please see the many realted threads with regards to these changes.
Changing the config file isn't sufficient.
When eggdrop loads up, or reloads, the orde rin which the data is read is important.
1: config file
2: channel file
As the channel file is loaded second, it overwrites any setting int he config file.
As such, the simplest way to change these, is to use the ".chanset" command in the partyline, and use ".save" afterwards.
n
nameless_
Post
by nameless_ » Tue Jan 14, 2003 12:23 pm
thanks a lot everybody, it works now