International Support > French

[RESOLVED] Question for m_chanstats

(1/3) > >>

c-cris:
Bonjour,

J'ai une question concernant le module m_chanstats, pour que un utilisateurs puisse enregistrer ces stats il doit taper la commande :

--- Code: ---/NS SET CHANSTATS ON
--- End code ---

Est-il possible d'éviter cette commande pour que cela soit automatique ?

Merci à vous :)

Translate for Google :

Hello,

I have a question about the m_chanstats module, so that a user can save these stats he must type the command:

--- Code: ---/NS SET CHANSTATS ON
--- End code ---

Is it possible to bypass this command so that it is automatic?

Thank you :)

Lord255:
hello.
in chanstats.conf

--- Code: --- ns_def_chanstats = yes
cs_def_chanstats = yes

--- End code ---

though this will only apply for newly registered users, for the rest, you need to do manually.

Lord255:
for now, idk about your client, but you could write a small script, to list all users and as services root use the saset command to set on all of em. :)


--- Code: ---/ns list *
/ns help saset

--- End code ---

mhm. :)


(for mirc:

--- Code: ---on ^*:NOTICE:*:*: {
  if ($network == <yournetworkhere>) {
    if ($nick == NickServ) {
      ns saset CHANSTATS $1 on
    }
  }
}

--- End code ---

if you give the /ns list * out, this would do everything. only prob occurse if you have noexpire set to a nick cuz then its start with !

but anyway.. this is just one solution, but you can code your own stuff. :)

-----
only put this inside your remotes, when you only use ns list *; after that remove it!
it can mess up your things. so dont use it if you dont know what does that do. :)
)

PeGaSuS:

--- Quote from: Lord255 on March 02, 2022, 10:13:10 AM ---hello.
in chanstats.conf

--- Code: --- ns_def_chanstats = yes
cs_def_chanstats = yes

--- End code ---

though this will only apply for newly registered users, for the rest, you need to do manually.


--- End quote ---

Complementing the answer above:

* Those are the defaults when you enable , so any new registered user/channel will have chanstats enabled by default.
* If you feel at ease compiling external modules, you can try this: https://bit.ly/3pyyfRL
* After installing and loading it, just type: "/ns massset chanstats on" and this will mass enable chanstats for every user already registered
* Please remember of giving your opertype the "nickserv/massset" permissions.
.

Hope this helps.

Cheers

Lord255:

--- Quote from: The Myth Lives on March 02, 2022, 06:31:22 PM ---Complementing the answer above:

* Those are the defaults when you enable , so any new registered user/channel will have chanstats enabled by default.
* If you feel at ease compiling external modules, you can try this: https://bit.ly/3pyyfRL
* After installing and loading it, just type: "/ns massset chanstats on" and this will mass enable chanstats for every user already registered
* Please remember of giving your opertype the "nickserv/massset" permissions.
.

Hope this helps.

Cheers

--- End quote ---

nice. didnt know that there is a module for it. thought pretty useless afterwards. maybe load it till you need it, then remove it. mhm.
also its from 2014 ?:D mhm. but yeah. nice though! :)

Navigation

[0] Message Index

[#] Next page

Go to full version