Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Auto-Mode Set  (Read 12490 times)

0 Members and 1 Guest are viewing this topic.

P2P-Fire

  • Guest
Auto-Mode Set
« 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.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #1 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....
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

P2P-Fire

  • Guest
(No subject)
« Reply #2 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!
Logged

katsklaw

  • Guest
(No subject)
« Reply #3 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 ;)
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #4 on: January 08, 2007, 11:19:42 AM »

that s mod on id, he meant something like "mode on add" i think
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #5 on: January 08, 2007, 11:48:20 AM »

or enable NSDefAutoop on services.conf ?
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #6 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
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

SpaceDoG

  • Anope User
  • Offline Offline
  • Posts: 183
    • http://www.hypermutt.net
(No subject)
« Reply #7 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.
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #8 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
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

Armadillo

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 72
    • http://www.penguinfriends.org
(No subject)
« Reply #9 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]
Logged
IRC-Network: irc.PenguinFriends.org | Website: www.PenguinFriends.org
Anope: 1.9.9 | InspIRCd: 2.0

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #10 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]
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #11 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.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #12 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 :)
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)
Pages: [1]   Go Up