From 21fa0901dc8723627c6970aa6eff97bc27e36533 Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 26 Dec 2013 01:34:12 +0100 Subject: Modernized syntax and fixed errors in the sample scripts Signed-off-by: Haru --- doc/sample/npc_test_func.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/sample/npc_test_func.txt') 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; -- cgit v1.2.3-70-g09d2