Agreed on the really long function part.

IMO, your check is so specific you should do a script - also easy to test, no 
recompile whatsoever.

>   I think python is the way to go.  Maybe this is a case where a sample
> plugin would be appreciated.

You mean a sample Python script? Or a plugin?

If script, well, the documentation at 
http://wiki.metalforge.net/doku.php/cfpython should give needed info, as well 
as scripts the game already has - of course asking on the list or IRC works 
too ;)

For a plugin, there should (in trunk) a .sh to make a plugin, see 
http://wiki.metalforge.net/doku.php/server_plugin#creating_a_plugin for more 
info.

Nicolas
-- 
http://nicolas.weeger.free.fr [Petit site d'images, de textes, de code, bref 
de l'aléatoire !]

Attachment: pgpARZn46VQmg.pgp
Description: PGP signature

_______________________________________________
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire

Reply via email to