summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2015-01-24 14:38:39 +0100
committerHaruna <haru@dotalux.com>2015-01-24 14:38:39 +0100
commit6f3a82487fdffabf221a9a2dfc5ace027c333f95 (patch)
tree76f2ba97a955d0724949b5f233a81bcd4ea8cf52 /doc/script_commands.txt
parenta75714ca455c728d34918dd12200fcec87ebc0d4 (diff)
parent28eda3cd3dd7f8031668fdd8ba463e5661246348 (diff)
downloadhercules-6f3a82487fdffabf221a9a2dfc5ace027c333f95.tar.gz
hercules-6f3a82487fdffabf221a9a2dfc5ace027c333f95.tar.bz2
hercules-6f3a82487fdffabf221a9a2dfc5ace027c333f95.tar.xz
hercules-6f3a82487fdffabf221a9a2dfc5ace027c333f95.zip
Merge pull request #452 from HerculesWS/channel_refactor
Hercules Channel System refactor
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 ...