Re: [Amcl-users] Python plugins ignored?
Status: Beta
Brought to you by:
lobbin
|
From: Robin E. <lo...@lo...> - 2002-05-03 08:57:51
|
On Fri, 2002-05-03 at 05:35, Rich Churcher wrote:
> I seem to be having a little difficulty getting Python plugins
> recognised by Gnome-MUD v0.9.0. Placing the test file foo.py:
>
> import GnomeMud
>
> def replace_foo(conn, data):
> return data.replace("foo","bar")
>
> conn = GnomeMud.connection()
> conn.write("Hello, world!\n")
> GnomeMud.register_input_handler(replace_foo)
> GnomeMud.register_output_handler(replace_foo)
>
> in either $HOME/.gnome-mud/ or $HOME/.gnome-mud/plugins/ has absolutely
> no effect. Am I missing something? Python version is a little old,
> 1.5.2.
Hi,
Python support currenly needs version 2.1+
Hope that will help you.
regards
- robin
|