Debian Codegraph @

python/events/login/autojail_login.py

raw
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.")