Crossfire Server, Trunk
connect.py
Go to the documentation of this file.
1 # -*- coding: utf-8 -*-
2 # Simple script to trigger the connection given as a parameter.
3 # Setting the script option to "3" will turn the connection 3 on in the map it was called from.
4 
5 import Crossfire
6 
7 if Crossfire.ScriptParameters().isdigit():
8  Crossfire.WhoAmI().Map.TriggerConnected(int(Crossfire.ScriptParameters()), 1)
make_face_from_files.int
int
Definition: make_face_from_files.py:26