Crossfire Server, Trunk
autojail_login.py
Go to the documentation of this file.
1 import Crossfire
2 
3 dict = Crossfire.GetSharedDictionary()
4 
5 if 'autojail' in dict and dict['autojail'] == 1:
6  activator = Crossfire.WhoIsActivator()
7  activator.Message("Notice: killing another player will automatically send you to jail.")