To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

Partdetach: Difference between revisions

From ZNC
Jump to navigation Jump to search
Added python module
KindOne (talk | contribs)
Restore partdetach from archive.org - 2016/08/06
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
http://people.znc.in/~psychon/znc/modules/partdetach.cpp or http://people.znc.in/~psychon/znc/modules/partdetach2.cpp
http://people.znc.in/~psychon/znc/modules/partdetach.cpp or http://people.znc.in/~psychon/znc/modules/partdetach2.cpp


Alternatively, depending on [[modpython]], [[User:Nothing4You|Nothing4You]] wrote a Python module, which doesn't need extra compilation and shouldn't depend on the ZNC version too much: http://static.rep.pm/archive/znc/part_detach.py.
The above modules do not work in 1.0+.  This one does: https://gist.github.com/Socialery/7058137
 
Alternatively, depending on [[modpython]], there is a Python module, which doesn't need extra compilation and shouldn't depend on the ZNC version too much (it still needs at least ZNC 1.0):
 
== Description ==
This network module detaches the user from the channel which is parted.
To actually part a channel the user has to part it twice, first part to detach, second part to actually part.
 
== Installation ==
First you have to make sure [[modpython]] is installed and loaded.
Then you can place [https://github.com/Nothing4You/znc-modules/blob/master/part_detach.py this code] in ~/.znc/modules/ and load it as network module.
 
== Configuration ==
There are no configurable options.
 
== Support ==
You can find me ([[User:Nothing4You|Nothing4You]]) on irc, #znc on freenode, or use the [https://github.com/Nothing4You/znc-modules/issues Issue Tracker] on GitHub.

Revision as of 14:26, 21 May 2017

http://people.znc.in/~psychon/znc/modules/partdetach.cpp or http://people.znc.in/~psychon/znc/modules/partdetach2.cpp

The above modules do not work in 1.0+. This one does: https://gist.github.com/Socialery/7058137

Alternatively, depending on modpython, there is a Python module, which doesn't need extra compilation and shouldn't depend on the ZNC version too much (it still needs at least ZNC 1.0):

Description

This network module detaches the user from the channel which is parted. To actually part a channel the user has to part it twice, first part to detach, second part to actually part.

Installation

First you have to make sure modpython is installed and loaded. Then you can place this code in ~/.znc/modules/ and load it as network module.

Configuration

There are no configurable options.

Support

You can find me (Nothing4You) on irc, #znc on freenode, or use the Issue Tracker on GitHub.