File: python_exit.py

package info (click to toggle)
crossfire-maps 1.75.0%2Bdfsg1-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 275,656 kB
  • sloc: python: 7,711; sql: 92; sh: 73; makefile: 7
file content (8 lines) | stat: -rw-r--r-- 154 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
import Crossfire

#Crossfire.SetReturnValue( 1 )

whoami = Crossfire.WhoAmI()
who = Crossfire.WhoIsActivator()

whoami.Say("exit applied by %s"%who.Name)