Anope IRC Services

Anope Development => Feature Requests => Topic started by: P2P-Fire on January 07, 2007, 09:26:42 PM

Title: Auto-Mode Set
Post by: P2P-Fire on January 07, 2007, 09:26:42 PM
You have something similar already in Anope.

If someone is on a room list, and they enter a room unidentified, once they identify they get the channel modes for the list they are on.

If I'm on vop, and come into a room unidentified.  Once I identify I get the +v.

You should add something on like this:
When someone is added to the XOP list, and if they are in the room and identified, it sets the channel mode to them.

Meaning.  If 'x' is in the channel, and I am the room owner.
I type /msg chanserv hop add x
If x is registered, and identified, the botserv bot (or chanserv) should set the room mode for them.
+h x

Instead of them having to use the /hop or /cycle command.

Makes everything alot easier...although I'm not sure of how much more coding must be done to add this.
Title:
Post by: Jan Milants on January 07, 2007, 09:43:30 PM
a module that does this allready exists, though i must say it s so old i m not sure whether it still works and even if it does, it probably updating....
Title:
Post by: P2P-Fire on January 08, 2007, 02:54:40 AM
Well, I'm saying it'd be nice to have in the core.  Something you enable in the services.conf file, like the 'set mode on identification' function.

I just think it would be alot easier.  But it's my opinion, if others thought the same thing there'd be newer modules out, or someone would have posted this already!
Title:
Post by: katsklaw on January 08, 2007, 03:52:21 AM
It's called NSModeOnID and it's in the core for 1.7 and has been for several releases now ;)
Title:
Post by: Jan Milants on January 08, 2007, 11:19:42 AM
that s mod on id, he meant something like "mode on add" i think
Title:
Post by: n00bie on January 08, 2007, 11:48:20 AM
or enable NSDefAutoop on services.conf ?
Title:
Post by: Jobe on January 08, 2007, 12:23:56 PM
Quote
Originally posted by Viper
that s mod on id, he meant something like "mode on add" i think


Yeah at present if youre added to a channels access list you usually need to part-join the channel to get your modes or if NSModeOnID is enable an /msg NickServ update
Title:
Post by: SpaceDoG on January 08, 2007, 02:38:25 PM
the mod that Viper is talking about is cs_getstatusonadd I have this running on my net with 1.7.17 and it works just fine. I'll let you know if it works tonight or not on 1.7.18.
Title:
Post by: Jobe on January 08, 2007, 03:06:52 PM
If it works on 1.7.17 there is little to no reason why it wont work on 1.7.18
Title:
Post by: Armadillo on April 05, 2007, 11:13:26 PM
Well it doesn't work with 1.7.18:

OperServ: Unable to load module cs_getstatusonadd

[Apr 06 00:09:53 2007] Trying to load module [cs_getstatusonadd]
[Apr 06 00:09:53 2007] /home/irc-server/pf-services//services/modules/runtime/cs_getstatusonadd.so.1J2S7C: undefined symbol: xop_msgs
[Apr 06 00:09:53 2007] Module loading status: 6 (Module Error, Error during load time or module returned MOD_STOP)

I already tried to remove "extern" at the beginning of line 52, then it is loadable, but it doesn't work with Unreal 3.2.6 and Anope 1.7.18.

It would be a great pleasure if someone, who is more experienced in editing modules than me, could make it work. :):):) Also support for the !sop/aop/hop add/del commands of the bs_fantasy_ext module would be great, but the fact that it works with Anope 1.7.18 would also be nice. ;)

Greetz

Arma

[Bearbeitet am 5-4-2007 von Armadillo]
Title:
Post by: Jan Milants on April 05, 2007, 11:28:12 PM
he s right... if i remember correctly a few changes were made to the xop notices being send...

as for support for bs_fantasy_ext, this module should be rewritten to use event hooks, then it will not matter how the changes to the access list are made.

[Edited on 5-4-2007 by Viper]
Title:
Post by: Jobe on April 06, 2007, 12:47:32 PM
cs_statusupdate works with 1.7.18 and along side bs_fantasy_ext too and reacts to access list updates done by bs_fantasy_ext too.

The only problem i know of with cs_statusupdate is that if you have super admin on for yourself and you join any channel you get +q in every channel at that moment as if you typed /msg NickServ update.
Title:
Post by: Jan Milants on April 06, 2007, 12:58:35 PM
yeah, but he said he s using cs_getstatusonadd, which is an older version of cs_statusupdate i guess :)