Tutorial: Auto-voicing with Anope-1.8 [Basic]

December 3rd, 2011 | Posted by Lee in Anope | irc - (0 Comments)
2

This is a common request, and one that most people end up using 3rd party bots/scripts or Anope modules for, when its functionality is in the Anope core already.

This works on recent versions of Anope-1.8 and requires us altering ChanServ’s levels.
ChanServ’s levels can only be altered and implemented when XOP is turned off, meaning you’ll need to add new users access using numeric values eg. VOP=3, AOP=5, SOP=10.

  1. So, first thing’s first, disable XOP if it’s enabled using /cs set #CHANNEL XOP OFF.
  2. If you do /cs levels #CHANNEL list you can see the required access levels for various commands, the one we’re after is AUTOVOICE.
  3. Do you want just registered users to get voiced, or all users? An unregistered user has level 0, a registered one has 1. For ALL users type /cs levels #CHANNEL set autovoice 0, and for REGISTERED users use /cs levels #CHANNEL set autovoice 1.

And that’s all there is to it, you may wish to use this for a degree of damage control in the event of flood-bots, eg. Setting the channel to +m and having ChanServ autovoice registered users. There are many possibilities, and the same idea can also be applied to the AUTOHALFOP, AUTOOP levels.

    Read the rest

New Anope 1.9 Module ns_massset

November 26th, 2011 | Posted by Lee in Anope | irc - (1 Comments)
2

Another Anope module, and a port of an existing 1.7/1.8 module, ns_massset allows a services administrator with the nickserv/massset privilege to mass-set options for ALL registered users. Options include, Kill, KillQuick, AutoOP, and Secure.
This module is useful in newish installations where a default NickServ setting has been enabled/disabled and you wish to undo it. Note that some users may be happy with their settings, so this shouldn’t be used on an older install with a lot of users.

Module designed and tested on the 1.9.5 release.

To enable the command add the following to nickserv.conf
module { name = “ns_massset” }
command { service = “NickServ”; name = “MASSSET”; command = “nickserv/massset”; permission = “nickserv/massset”; }

DownloadRead the rest

Anope Module update: os_mamode 1.9.5

September 14th, 2011 | Posted by Lee in Anope | irc - (1 Comments)
Anope

I’ve just updated my Anope os_mamode module just over a year since it’s last update, to work on the latest Anope-1.9.5 release.

The module adds the ability for a services root, or services staff with the operserv/massmode permission to set/unset modes for ALL channels, registered or unregistered, ideal on a small net where you don’t quite want to go to the extreme of using Defcon. Note that on large networks, users may not appreciate you forcing modes on them, especially if they’ve not registered the channel.

DownloadRead the rest

New 1.9 Module hs_autoupdate

August 23rd, 2011 | Posted by Lee in Anope - (0 Comments)
Anope

I’ve just ported one of my previous 1.8 modules that I never released for use on 1.9, the module is hs_autoupdate. If a users vhost is SET, ACTIVATED, altered or DELETED this module will automatically apply the new vhost to the user if they’re currently on IRC. If a users vhost is deleted it will remove it and apply normal cloaking.

Tested on Anope-1.9.5-ga2f92b6-is-both-the-chicken-and-the-egg (190) with Unreal-3.2.9-rc1.

DownloadRead the rest