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.

problem with stats.mod

Old posts that have not been replied to for several years.
Locked
n
nameless_

problem with stats.mod

Post by nameless_ »

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
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

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_ »

what should I change in stats.mod source?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

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`
m
mortician
Voice
Posts: 37
Joined: Sun Sep 22, 2002 6:35 pm
Location: Tsjakamaka
Contact:

Post by mortician »

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_ »

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 :(
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

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_ »

thanks a lot everybody, it works now :)
Locked