Spawn Detection
location: global/ac/spawn_detect.scr
The spawn detection script is global and can be used to detect players spawning. If you wish to know when a player spawns you must execute the script parsing a path to the script you want to be executed every time a player spawns. The player will be sent to the executed script as the self object.
For example:
exec global/ac/spawn_detect.scr global/ac/spawn_protection.scr // exec with this script path
Above the spawn detection script is being executed with 'global/ac/spawn_protection.scr'. Every time a player spawn 'global/ac/spawn_protection.scr' will be executed.
The scriipt 'global/ac/spawn_protection.scr' can then be used to give that player some spawn protection by simple doing self nodamage for some time.