summaryrefslogtreecommitdiff
path: root/doc/sample/npc_test_str.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/sample/npc_test_str.txt')
-rw-r--r--doc/sample/npc_test_str.txt23
1 files changed, 16 insertions, 7 deletions
diff --git a/doc/sample/npc_test_str.txt b/doc/sample/npc_test_str.txt
index 78f3cfdf3..ad3532c4a 100644
--- a/doc/sample/npc_test_str.txt
+++ b/doc/sample/npc_test_str.txt
@@ -1,15 +1,24 @@
-// Some Test Example
+//===== rAthena Script =======================================
+//= Sample: String Test
+//===== By: ==================================================
+//= rAthena Dev Team
+//===== Current Version: =====================================
+//= 20070315
+//===== Description: =========================================
+//= An example of string comparisons.
+//============================================================
+
prontera,164,188,1 script sTrInG2compare 112,{
set @str$, "StRiNg1";
mes "sTrInG2 isn't equal to " + @str$ ;
mes "Our Var is equal to " + @str$ + " ...OK?";
next;
- mes "Comparision eqOK�F" + (@str$=="StRiNg1");
- mes "Comparision eqNG�F" + (@str$=="sTrInG2");
- mes "Comparision neOK�F" + (@str$!="00000");
- mes "Comparision neNG�F" + (@str$!="StRiNg1");
- mes "Comparision gtOK�F" + ("aab">"aaa");
- mes "Comparision ltNG�F" + ("aab"<"aaa");
+ mes "Comparison eqOK�F" + (@str$=="StRiNg1");
+ mes "Comparison eqNG�F" + (@str$=="sTrInG2");
+ mes "Comparison neOK�F" + (@str$!="00000");
+ mes "Comparison neNG�F" + (@str$!="StRiNg1");
+ mes "Comparison gtOK�F" + ("aab">"aaa");
+ mes "Comparison ltNG�F" + ("aab"<"aaa");
next;
input @str2$;
mes "You've entered '" + @str2$ + "' string.";