maps/python/events
partmedia 739ca3508b Restore original CFBank API
Moving accounts to player files added unnecessary complexity. Restore
original API and add code to migrate accounts back from player files.

While here, wrap CFBank with a context manager so it can be used with
the Python 'with' statement.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20449 282e977c-c81d-0410-88c4-b93c2d0d6712
2017-07-27 06:35:06 +00:00
..
born Split event files, make subdirs. 2006-01-07 23:44:05 +00:00
clock Don't log the bell, it works. 2012-04-22 14:10:25 +00:00
death Add autojailing scripts for PK, activated by DMs. 2011-06-09 22:20:06 +00:00
init Add autojailing scripts for PK, activated by DMs. 2011-06-09 22:20:06 +00:00
kick Run whitespace cleanup script in maps/python. 2009-01-30 01:22:22 +00:00
login Add autojailing scripts for PK, activated by DMs. 2011-06-09 22:20:06 +00:00
muzzle Split event files, make subdirs. 2006-01-07 23:44:05 +00:00
remove Restore original CFBank API 2017-07-27 06:35:06 +00:00
README Split event files, make subdirs. 2006-01-07 23:44:05 +00:00
python_event.py Tweak documentation to match the actual file name. 2015-05-18 15:53:34 +00:00
python_init.py Avoid features in the python scripts that are removed from python 3.0. This is confirmed to still work on at least python 2.5 and as far as I understand the docs also python 2.4 2009-01-30 01:32:19 +00:00

README

This directory contains 2 scripts:
 * python_init.py: called when the plugin is called. Will execute scripts in
    the 'init' subdirectory.
 * python_event.py: called when a global event (except plugin init) happens. Looks for
    scripts in the revelant subdirectory (Crossfire.ScriptParameters()) and executes them.