pyXAOP XChat Auto-op script by psi

Author: psichron
Current Version: beta 1.0 revision 5
Version History:

10 Jun 2007: Fixed file download link after moving hosts. 11 January 2007: Bug Fix: The windows build tries to load the config file from a place other than where it writes to. Stupid xchat issue. Fix: save to absolute dcc downloads dir. Might cause issues with linux.
13 January 2007: /xaop add|remove now prints an error on an invalid number of parameters
20 January 2007: Added missing \
4 Feb: Xaop's auto-op list now saved to HOME/.xaop . This is a little more intrusive, but is more reliable than relying on the xchat config file. This is also necessary due to an xchat bug in which it's current directory is different while loading a python script and after.

Notes:

I received a bug report from an unknown user who did not specify a return address. His IP was 130.75.176.XXX . Your issue was addressed in revision 5. Please check that it works.

Installation:

1. Click here to download pyXAOP.py
2. Copy pyxaop.py to your xchat directory so it auto-loads on startup. For windows users, this is usually in c:\Documents and Settings\USERNAME\Application Data\X-Chat 2. For Linux users this is usually in ~/.xchat2
3. Start xchat and enter /py list to make sure pyXAOP is loaded.
4. /xaop help will display usage instructions:

Uninstallation:

Remove the script and .xaop in your home directory.

Help:

=== XChat Auto-Op script by psi. Version beta 1.0. ===
Please report any errors or submit requests to http://xaop.psichron.za.net

ADD A HOSTMASK WITH SPECIFIED CHANNELS AND NETWORKS TO AOP LIST:
/xaop add nick!ident@host #ch1,#ch2,#ch3 network1,network2

ADD A HOSTMASK FOR ALL USERS ON ALL CHANNELS AND ALL NETWORKS:
/xaop add *!*@* ALL ALL

PRINT THE AOP LIST:
/xaop list

REMOVE AN ITEM FROM THE AOP LIST:
/xaop remove [number from /xaop list]

EXAMPLE: /xaop add psi*!*@*.za.net #programming,#python shadowfire
Note: default behaviour for /xaop add is to add a user for ALL channels and networks. Using /xaop add mynick!myIdent@* will auto-op the user "mynick" with ident "myIdent" and any hostname on all channels and networks.


Please submit any bug reports and feature request with the form below:

You are also welcome to contact me if you find this plug-in useful.
I can also be found in #programming on irc.shadowfire.org as "psi" or "psichron".

Your email or jabber/ICQ details:
In relation to:
Message:

Or email me at: email address