summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-07 17:42:41 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-07 17:42:41 +0000
commitf11b8f4bb3b1c047e0b1dfc9585f5b6c49ee8f65 (patch)
tree1fd4f3451af56dbf716c8682283ac3c4645ebd36
parentb795233e374987f4c427f59922f271810f937eef (diff)
downloadhercules-f11b8f4bb3b1c047e0b1dfc9585f5b6c49ee8f65.tar.gz
hercules-f11b8f4bb3b1c047e0b1dfc9585f5b6c49ee8f65.tar.bz2
hercules-f11b8f4bb3b1c047e0b1dfc9585f5b6c49ee8f65.tar.xz
hercules-f11b8f4bb3b1c047e0b1dfc9585f5b6c49ee8f65.zip
Updated the documentation to match the agitcheck() behavior
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9628 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--doc/script_commands.txt14
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.
---------------------------------------