From 5ae39ac567c6e6d4151c190dc3e4bfd373680a52 Mon Sep 17 00:00:00 2001 From: Bukz Date: Fri, 6 May 2011 21:04:32 +0000 Subject: [PATCH] auto executed scripts dir git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6411 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/scripts.cfg | 6 +++--- scripts/0.cfg | 10 ++++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 scripts/0.cfg diff --git a/config/scripts.cfg b/config/scripts.cfg index 1ac7e3b4..09c750d7 100644 --- a/config/scripts.cfg +++ b/config/scripts.cfg @@ -411,10 +411,10 @@ customclaimadminscript = [ ] [ echo (c 3)Error: (c 5)you're not connected to $_CAS_servername servers ] ] +// Execute other .cfgs/scripts. run on_quit - run dyngamma - run survival +run tutorial -run tutorial \ No newline at end of file +execdir scripts \ No newline at end of file diff --git a/scripts/0.cfg b/scripts/0.cfg new file mode 100644 index 00000000..446b8b66 --- /dev/null +++ b/scripts/0.cfg @@ -0,0 +1,10 @@ +// This is an example file that will be automatically executed upon AC startup. +// All .cfg files placed in this /scripts/ directory, will be automatically +// executed when you start AC. + +// Files here are executed in alphabetical order, the order of priority is: +// 0-9, a-z, A-Z, and sybols. Therefore this file, (0.cfg) - will likely ALWAYS +// be executed before any other .cfg files you put into this directory. Use it +// for scripts that MUST be executed before others - for example. + +// NOTE: The /config/autoexec.cfg can still be used to override anything! \ No newline at end of file