summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStreusel <m.me1@live.de>2013-05-19 02:31:05 -0600
committerStreusel <m.me1@live.de>2013-05-19 02:31:05 -0600
commitb492728e363b24e69fc5afadd021797072b69a52 (patch)
tree9c02b8f66045a887cd8fe50426b7a172b80b377d /doc
parent75d276d7e30c9ca92cd450de9ef897c98a2a4ab3 (diff)
downloadhercules-b492728e363b24e69fc5afadd021797072b69a52.tar.gz
hercules-b492728e363b24e69fc5afadd021797072b69a52.tar.bz2
hercules-b492728e363b24e69fc5afadd021797072b69a52.tar.xz
hercules-b492728e363b24e69fc5afadd021797072b69a52.zip
Update script_commands.txt
Updated 'close' and 'end' documentation.
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt11
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index bf462c812..a908b338b 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -1059,9 +1059,9 @@ will terminate.
*close;
This command will create a 'close' button in the message window for the invoking
-character. If no window is currently on screen, the script execution will end. This is one
-of the ways to end a speech from an NPC. Once the button is clicked, the NPC
-script execution will end, and the message box will disappear.
+character. If no window is currently on screen, the script command 'end;' must be used.
+This is one of the ways to end a speech from an NPC. Once the button is clicked,
+the NPC script execution will end, and the message box will disappear.
mes "[Woman]";
mes "I am finished talking to you, click the close button";
@@ -1091,9 +1091,8 @@ Don't expect things to run smoothly if you don't make your scripts 'end'.
*end;
-This command will stop the execution for this particular script. The two
-versions are perfectly equivalent. It is the normal way to end a script which
-does not use 'mes'.
+This command will stop the execution for this particular script.
+It is required for any script not using 'mes'.
if (BaseLevel<=10) goto L_Lvl10;
if (BaseLevel<=20) goto L_Lvl20;