summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-01-23 13:50:03 +0100
committerHaru <haru@dotalux.com>2015-01-24 14:37:26 +0100
commitdfe8337d9ddb1a0b356ae86de9955845d280b759 (patch)
treef13976e43362237a697216a09457c1fa0ea41fae /doc/script_commands.txt
parent3cfc6ddac576e236ccad0497d8e2ed2ae827c2bb (diff)
downloadhercules-dfe8337d9ddb1a0b356ae86de9955845d280b759.tar.gz
hercules-dfe8337d9ddb1a0b356ae86de9955845d280b759.tar.bz2
hercules-dfe8337d9ddb1a0b356ae86de9955845d280b759.tar.xz
hercules-dfe8337d9ddb1a0b356ae86de9955845d280b759.zip
Added script command 'channelmes'
Special thanks to Dastgir Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 420f31943..3784667cb 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -7121,6 +7121,20 @@ be the NPC with the said name.
---------------------------------------
+*channelmes("<#channel>", "<message>");
+
+This command will send a message to the specified chat channel.
+
+The sent message will not include any character's names.
+
+For special channels, such as #map and #ally, the attached RID's map or guild
+will be used.
+
+If the channel doesn't exist (or, in the case of a character-specific channel,
+no RID is attached), false will be returned. In case of success, true is
+returned.
+
+---------------------------------------
*rand(<number>{,<number>});
This function returns a number ...