diff options
-rw-r--r-- | Changelog-Trunk.txt | 1 | ||||
-rw-r--r-- | doc/script_commands.txt | 14 |
2 files changed, 5 insertions, 10 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 8b4e570cf..e38aab2d7 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2007/01/07 + * Updated the documentation to match the agitcheck() behavior * Undid the memset->malloc_set replacement (let's be compatible and leave such optimizations to system devs, ok?) * Small reformatting of conf-tmpl diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 1f07e8cc7..edbeada80 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -3939,22 +3939,16 @@ These two commands will start and end War of Emperium. This is a bit more complex than it sounds, since the commands themselves won't actually do anything interesting, except causing all 'OnAgitStart:' and -'OnAgitEnd:' events to run everywhere, respectively, and setting a so-called -'agit_flag' which also doesn't do much interesting itself. They are used as +'OnAgitEnd:' events to run everywhere, respectively. They are used as simple triggers to run a lot of complex scripts all across the server, and they, in turn, are triggered by clock with an 'OnClock<time>:' time-triggering label. --------------------------------------- -*agitcheck(0) -*agitcheck 1; +*agitcheck() -These function and command will let you check whether the server is currently in -the War of Emperium mode. (that is, if 'agit_flag' is set. Even if it is set, -doesn't mean that there's even one map in GVG mode somewhere) Calling -'agitcheck' as a function (the argument must be zero) will return 1 if WoE is on -and 0 if it isn't. Running 'agitcheck' as a command will instead set a local -variable @agit_flag to 1 if the server is in WoE mode and 0 if it isn't. +These function and command will let you check whether the server is currently +in the War of Emperium mode. It will return 1 if WoE is on and 0 if it isn't. --------------------------------------- |