xchat plugin - stuck

fishboy fishboy at spamspamspam.com
Sat Jun 5 22:50:06 EDT 2004


On Sun, 23 May 2004 19:03:26 +0200, Autarkis <autarkis at bad-data.net>
wrote:

>Hi all
>
>I don't have a lot of experience in programming. I use python as a replacement for mIRC scripting in xchat.
>
>I made a module that looked like this.
>
>
>
>#!/usr/bin/python
>__module_name__ = "helloxchat"
>__module_version__ = "0.3"
>__module_description__ = "Python module test"
>
>import xchat
>
>def passwordtest(word, word_eol, userdata):
>        xchat.emit_print(word[0])
>
>    return xchat.EAT_NONE
>
>
>xchat.hook_server("PRIVMSG", passwordtest)
>
>
>That's it.
>
>Loaded fine in Python and did an Echo, fine. That's what I wanted.
>
>But now it's stuck! I unloaded the programm, the python.so module, restarted xchat, reinstalled xchat and all, but the echo is still here. (The program is no longer).
>
>This has to be something really stupid, so if you could help me out here I'd appreciate it a lot. Thanks.
Not sure if you got an answer to this, but maybe the compiled module
is still around somewhere.  Same name as your module but ending in
.pyc.

><{{{*>



More information about the Python-list mailing list