os_notinchan

Module Author: Azander
Category: OperServ
Status: Published
User Rating: (10 Comments)

This is a simple 'deal with users not in any channel' module.

It allows you to list, kill, akill, or if your IRCD supports it (unreal 3.2.x+) tempshun all the users that are not in a channel.

Latest Module Releases

Recent User Comments

  • Romeo (romeo5k)

    Posted: 12/05/14 20:45:53
    Anope Version: 2.0.0
    Module Version: 1.0.0
    Comments:
    works like a charm.. Thanks

    User Rating:

  • Guest (tmp)

    Posted: 08/08/15 18:28:18
    Anope Version: 2.0.1
    Module Version: 1.0.2
    Comments:
    hello, it's always been a good module however it is crucial to add oper exemption. and more you can add registred user exemption as an option as it was in the previous versions of this module.
    thanks

    User Rating:

  • Vaya (Vaya)

    Posted: 30/01/19 14:25:51
    Anope Version: 2.0.4
    Module Version: 1.0.2
    Comments:
    this module doesnt work with anope-2.0.6
    will there be an update?

    User Rating:

  • Azander (azander)

    Posted: 30/01/19 19:33:33
    Anope Version: 2.0.4
    Module Version: 1.0.2
    Comments:
    @Vaya: The code works for me on 2.0.6 and on my test server running 2.0.7-git.

    You will need to provide more details as to how/why it doesn't work for you.

    User Rating:

  • Nicholas Kyriakides (Shillos)

    Posted: 04/11/19 16:41:05
    Anope Version: 2.0.4
    Module Version: 1.0.2
    Comments:
    Works fine on Anope 2.0.8-git

    Proper way to add in your operserv.conf is:

    /*
    * Operserv notinchanlist command
    *
    * This command can list, kill, akill, or tempshun all users not in any channels.
    *
    * Note that the 'TSHUN' option only works on ircd's that suport tempshun. (like Unreal 3.2.x)
    *
    * Syntax: NOTINCHAN {LIST|JOIN|KILL|AKILL|TSHUN} [reason]
    *
    * If a reason is not specified then the default reason from the module configuration will be used. If those
    * are missing or left blank then a generaic "Not In Channel Management" reason it automaticly appeneded.
    *
    * tshunreason : Used as the default message when shunning users not in channel.
    * killreason : Used as the default reason when killing users not in channel.
    * akillreason : Used as the default reason when akilling users not in channel.
    * akillexpire : Time used for the akills. This is not intended for permanent akills, just a temporary one
    * so that the staff has time to deal with the issue.
    * idlechan : Channel to force join non-channeled users into with using the JOIN option. Defaults to
    * #idle if not specified.
    *
    * Modify the following as necessary and put it in your operserv config:
    *
    */
    module {
    name = "os_notinchan"
    tshunreason = "Rejoin us when you are willing to join us publicly."
    killreason = "Non-Channel kill"
    akillreason = "Not-in-channel ban"
    akillexpire = "7m"
    idlechan = "#idle"
    }
    command { service = "OperServ"; name = "NOTINCHAN"; command = "operserv/notinchan"; permission = "operserv/akill"; }


    ** Notice the spaces in name = "NOTINCHAN"; they were name="NOTINCHAN"; in the original document and didn't work for me and the */ was at the end instead of before the module. I was confused intil i realised it was worngly put.

    Thanks for the code btw, made it work just fine! :-D


    User Rating:

  • Lisa (Manuel)

    Posted: 20/09/20 21:16:13
    Anope Version: 2.0.7
    Module Version: 1.0.2
    Comments:
    Please make it compilable under Windows too.

    https://pastebin.anope.org/index.php?page=viewpaste&id=d657c4b1d2

    User Rating:

  • Azander (azander)

    Posted: 21/09/20 18:48:58
    Anope Version: 2.0.7
    Module Version: 1.0.2
    Comments:
    @Manuel - I do not support windows in any way.

    User Rating:

  • Lisa (Manuel)

    Posted: 23/09/20 18:35:35
    Anope Version: 2.0.7
    Module Version: 1.0.2
    Comments:
    It doesn't really have anything to do with Windows.

    Please just fix the errors and that's good, because it's a general error message from me.

    User Rating:

  • Lisa (Manuel)

    Posted: 23/09/20 18:37:54
    Anope Version: 2.0.7
    Module Version: 1.0.2
    Comments:
    Visual Studio just shows missing characters on Windows and so on.

    User Rating:

  • Lisa (Manuel)

    Posted: 25/06/22 10:54:21
    Anope Version: 2.0.10
    Module Version: 1.0.2
    Comments:
    Hello, this module does not work with UnrealIRCD 6.0.4 + Anope 2.0.11.

    Nothing happens with the command "/os NOTINCHAN join".

    User Rating:

Post A Comment

You need to be logged in to post a comment.