[Amcl-users] Python plugins ignored?
Status: Beta
Brought to you by:
lobbin
|
From: Rich C. <chu...@ih...> - 2002-05-03 03:36:50
|
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.
--
Cheers,
Rich.
|