maps/python/events/login/autojail_login.py

8 lines
243 B
Python

import Crossfire
dict = Crossfire.GetSharedDictionary()
if 'autojail' in dict and dict['autojail'] == 1:
activator = Crossfire.WhoIsActivator()
activator.Message("Notice: killing another player will automatically send you to jail.")