Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Not in Channel Module!  (Read 12169 times)

0 Members and 1 Guest are viewing this topic.

atdheu

  • Guest
Not in Channel Module!
« on: May 16, 2006, 08:59:44 PM »

Hello,

can someone code a module that gline user who do not a channel within xx minutes?

regards

atdheu
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #1 on: May 16, 2006, 09:28:06 PM »

hello, atdheu ... take a look at the anope modules site and search for os_notinchanlist.c  module by SGR. I guess that is similar to what your looking for.
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

atdheu

  • Guest
(No subject)
« Reply #2 on: May 18, 2006, 08:05:20 AM »

Yes, i try this module, but i need a module where i can specify the time after an user get glined.
With the os_notinchanlist i can only manually akill all users who are not in channel.


regards
atdheu
Logged

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #3 on: May 18, 2006, 10:35:41 AM »

Why gline users just because users dont join a channel. i can only see alot of users getting glined. but you can just look at the module above and edit it to gline but i really dont see the point.

[Edited on 18-5-2006 by Tom65789]

PeaceKeeper

  • Guest
(No subject)
« Reply #4 on: May 26, 2006, 11:18:18 AM »

If I were you I'd force them into a channel like Lobby or Lounge or something like that after xx time ,.. where you would expect newcomers to join in.

More userfriendly :)

Gonan do the same on my server. Created a room called Lounge,.. setup a couple mods. Just gotta add the module to send them there still :P
Logged

guesti

  • Guest
Looking for this module
« Reply #5 on: June 29, 2006, 08:57:01 PM »

Quote
Originally posted by PeaceKeeper
If I were you I'd force them into a channel like Lobby or Lounge or something like that after xx time ,.. where you would expect newcomers to join in.

More userfriendly :)

Gonan do the same on my server. Created a room called Lounge,.. setup a couple mods. Just gotta add the module to send them there still :P


Where can i get such kind of module that forces users after specified time to join a specified channel?
Logged

mistrider

  • Anope User
  • Offline Offline
  • Posts: 1
(No subject)
« Reply #6 on: August 17, 2006, 02:13:25 AM »

this module is not compilng with newest release, ant fixes?

Mistrider
Logged

Wintermute

  • Guest
(No subject)
« Reply #7 on: August 20, 2006, 08:12:00 AM »

In fact it's extremly anoying. Every new version of anope breaks modules i need. This isn't really what a >1.x version should do: big api changes.
Really, that drives me nuts as i'm not a coder and so i'm unable to fix the modules myself.

To say it short: that sucks.

For sure i'm happy about this free project done in the spare time of some nice guys. And for sure i'm interessted in advancements ... but this is really going to be a pain. Sorry, but i felt the way to say it.

[edit] Side effect of this: i don't upgrade .. "notinchanlist" is a important feature i need a lot.

[Edited on 20-8-2006 by Wintermute]
Logged

Dave Robson

  • Team
  • *
  • Offline Offline
  • Posts: 357
(No subject)
« Reply #8 on: August 20, 2006, 09:25:59 AM »

in fairness, all our stable branch modules still work, e.g. any module wrote for any of the 1.6.x series will work with 1.6.1 - 1.6.4, and have done for over a year.... - yes we change the api on the 1.7 versions - its a _development_ version.

To say it short: use the stable version.

[Edited on 20-8-2006 by Rob]
Logged

djGrrr

  • Anope User
  • Offline Offline
  • Posts: 51
    • http://www.p2p-network.net/
(No subject)
« Reply #9 on: August 20, 2006, 04:39:53 PM »

if you can't handle all the changes, then don't use the development version as stuff is expected to break with it.

i did a little investigating and found out the problem, and i managed to fix os_notinchanlist
http://www.p2p-network.net/os_notinchanlist.c
Logged
P2P-NET Network Staff

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #10 on: August 20, 2006, 05:28:48 PM »

and it uses strtok. should never use strtok in a module. few other things could be cleaned up with it as well

if i get time i'll re-write the entire module.

[Edited on 20-8-2006 by Tom65789]

djGrrr

  • Anope User
  • Offline Offline
  • Posts: 51
    • http://www.p2p-network.net/
(No subject)
« Reply #11 on: August 20, 2006, 06:07:13 PM »

i don't know about all that (i don't really know C at all, but i know php quite well so it wasn't too hard to figure out the problem)
i want to learn C though, so, what should be used in place of strtok ?
Logged
P2P-NET Network Staff

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #12 on: August 20, 2006, 11:27:21 PM »

i rewrote this for my net some time ago... can't get it off the services hub right now though, i ll c if i can get it later and c if it s good enough for public use...

and instead of strtok it s best to use the token commands... http://wiki.anope.org/index.php/Modules:QuickList:Tokens
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #13 on: August 22, 2006, 01:47:40 PM »

ok took me a bit longer then i thought... after i got my login info back turned out it still needed some cleaning up, so sorry about the delay...

MD5-hash:
(Source) 1F3B34428DE08C5B018DFBED044ECB9E
(Win32 DLL) 45A02A7BEBDF07498AA2E40F5A0F9EFA

Download:
Source: http://vips.hopto.org/~viper/os_notinchanlist.c
Windows dll: http://vips.hopto.org/~viper/os_notinchanlist-2.1.zip

Please read the documentation before loading this module. For windows users there is a README.txt included in the zip.
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #14 on: August 22, 2006, 03:27:31 PM »

\o/ and i started re-writing it but looking at that you did it like 90% the same way as i did so it saves me finishing what i started :P

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
(No subject)
« Reply #15 on: September 26, 2006, 01:45:36 PM »

^ I just made use of this Viper. - Good stuff buddy.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #16 on: September 27, 2006, 09:28:49 PM »

:)

edit: i could resist answering untill i noticed this would be my 200st post :7

[Edited on 27-9-2006 by Viper]
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
(No subject)
« Reply #17 on: September 28, 2006, 09:26:56 AM »

Wooo :)
Logged
Pages: [1]   Go Up