summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorCarlos Henrique <carloshlfzanon@gmail.com>2018-09-20 16:08:47 -0300
committerCarlos Henrique <carloshlfzanon@gmail.com>2018-12-04 16:32:11 -0200
commit582336dff2bffba506891a54ecd9360e4fbdd65c (patch)
tree298a860fa285a1bc1d430322373b8b776de5fa2a /doc/script_commands.txt
parent41d370cd3308be48b4ce00a50ee46515742978b0 (diff)
downloadhercules-582336dff2bffba506891a54ecd9360e4fbdd65c.tar.gz
hercules-582336dff2bffba506891a54ecd9360e4fbdd65c.tar.bz2
hercules-582336dff2bffba506891a54ecd9360e4fbdd65c.tar.xz
hercules-582336dff2bffba506891a54ecd9360e4fbdd65c.zip
Added mapflags 'nostorage' and 'nogstorage'
nostorage 1 -- blocks only @storage nostorage 2 -- blocks only openstorage(); nostorage 3 -- blocks @storage and openstorage() nogstorage 1 -- blocks only @gstorage nogstorage 2 -- blocks only guildopenstorage(); nogstorage 3 -- blocks @gstorage and guildopenstorage()
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 90d4d77cc..4d2517efa 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -5693,6 +5693,10 @@ storage window, to avoid any disruption when both windows overlap.
openstorage();
end;
+The mapflag 'nostorage' when set to type '2' (or 3), will not open the
+account storage. Unless the character group has the permission 'bypass_nostorage'.
+In case blocked by mapflag, returns 0.
+
---------------------------------------
*openmail()
@@ -5754,6 +5758,10 @@ time.
This will also fail and return 2 if the attached character does not belong
to any guild.
+The mapflag 'nogstorage' when set to type '2' (or 3), will not open the
+guild storage. Unless the character group has the permission 'bypass_nostorage'.
+In case blocked by mapflag, returns 1.
+
---------------------------------------
*guildchangegm(<guild id>, <new master's name>)
@@ -8160,6 +8168,7 @@ Valid <permission> are:
PERM_DISABLE_STORE
PERM_DISABLE_EXP
PERM_DISABLE_SKILL_USAGE
+ PERM_BYPASS_NOSTORAGE
Example: