[Request] No Part Mode

These are old archives. They are kept for historic purposes only.
Post Reply
Jagger
Posts: 5
Joined: Fri Jan 13, 2006 3:01 pm

[Request] No Part Mode

Post by Jagger » Tue Jan 23, 2007 9:18 pm

Would it be possible to make a mode that only IRCOps can put on a channel where anybody that joins (by choice or force) would not be able to part unless they have the can_override flag or are an ircop? this would help when using os_notinchanlist for anope and when the stray xdcc catchers part as soon as you make them join. :P any help would be appreciated.

Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth » Tue Jan 23, 2007 11:45 pm

This would be possible, but it would not work with many clients.

Take mIRC for example. You close the window to part the channel, and the server declines the PART. You are in a channel you have no window for. I don't know what mIRC will do with the messages for that channel (if it doesn't crash), they will likely go to the status window and be ignored by the user.

The best thing you can do if you want a channel users cannot part, is put a bot in the unpartable channels to SAJOIN the user back into the channel as soon as they part it.

JanisB
Posts: 128
Joined: Fri Apr 22, 2005 9:05 am
Location: LV
Contact:

Post by JanisB » Wed Jan 24, 2007 9:54 am

<11:52:49> * Joins: Gathers
<11:52:50> * Parts: Gathers

<11:52:49> <Gathers> [11:52] joined #gvjqwugwqw but didn't want to!

Welcome to flood-world. IMO bad, bad idea...

Jagger
Posts: 5
Joined: Fri Jan 13, 2006 3:01 pm

Post by Jagger » Wed Jan 24, 2007 9:12 pm

Stealth wrote:This would be possible, but it would not work with many clients.

Take mIRC for example. You close the window to part the channel, and the server declines the PART. You are in a channel you have no window for. I don't know what mIRC will do with the messages for that channel (if it doesn't crash), they will likely go to the status window and be ignored by the user.

The best thing you can do if you want a channel users cannot part, is put a bot in the unpartable channels to SAJOIN the user back into the channel as soon as they part it.
i understand this, but i dont need them to see any messages, as none go by anyway. all i do is a 2 day gzline on the client stating they need to be in any channels, what i do is use the anioe module to force clients in there, the xdcc catchers part immedatly, so a bot would only cause MORE flood. what i want to do is lock the clients into it, just like the +U in the courtroom module.:)

Post Reply