diff options
author | Haru <haru@dotalux.com> | 2013-12-26 01:34:12 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-12-30 16:08:20 +0100 |
commit | 21fa0901dc8723627c6970aa6eff97bc27e36533 (patch) | |
tree | 8890d4191c1ea44af96b6e51d8e149b1e885f043 /doc/sample/npc_test_func.txt | |
parent | a9156de759bc444a5f7256b86f6c4bac6a1ab47d (diff) | |
download | hercules-21fa0901dc8723627c6970aa6eff97bc27e36533.tar.gz hercules-21fa0901dc8723627c6970aa6eff97bc27e36533.tar.bz2 hercules-21fa0901dc8723627c6970aa6eff97bc27e36533.tar.xz hercules-21fa0901dc8723627c6970aa6eff97bc27e36533.zip |
Modernized syntax and fixed errors in the sample scripts
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'doc/sample/npc_test_func.txt')
-rw-r--r-- | doc/sample/npc_test_func.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/sample/npc_test_func.txt b/doc/sample/npc_test_func.txt index fbde70cd1..a57b6cfb1 100644 --- a/doc/sample/npc_test_func.txt +++ b/doc/sample/npc_test_func.txt @@ -3,8 +3,8 @@ //===== By: ================================================== //= Hercules Dev Team //===== Current Version: ===================================== -//= 20120901 -//===== Description: ========================================= +//= 20131225 +//===== Description: ========================================= //= Demonstrates use of functions. //============================================================ @@ -21,11 +21,11 @@ function script func002 { } // Uses 3 different methods of displaying dialogue from both internal and external sources. -prontera,168,189,1 script Functions 112,{ - callfunc "func001"; // Calls func001 and displays "Hello there!" - mes callfunc("func002"); // Calls func002 and displays "I'm a function" +prontera,168,189,1 script Functions 4_F_KAFRA6,{ + callfunc "func001"; // Calls func001 and displays "Hello there!" + mes callfunc("func002"); // Calls func002 and displays "I'm a function" next; - callsub L_SUB001; // Calls the label L_SUB001 and displays "I'm a label" + callsub L_SUB001; // Calls the label L_SUB001 and displays "I'm a label" close; end; |