summaryrefslogtreecommitdiff
path: root/doc/sample/npc_test_str.txt
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-10-03 23:13:33 +0000
committereuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-10-03 23:13:33 +0000
commitbafe9ca1ceaac5554b4716b7b5b4911c3f40a51d (patch)
tree65732204e49c51946b48244eabaeae2747cc7e81 /doc/sample/npc_test_str.txt
parentd4cec2529589b43bb4fd70ba79589bc1bb75da98 (diff)
downloadhercules-bafe9ca1ceaac5554b4716b7b5b4911c3f40a51d.tar.gz
hercules-bafe9ca1ceaac5554b4716b7b5b4911c3f40a51d.tar.bz2
hercules-bafe9ca1ceaac5554b4716b7b5b4911c3f40a51d.tar.xz
hercules-bafe9ca1ceaac5554b4716b7b5b4911c3f40a51d.zip
* Standardization of doc\sample\ folder.
* Deleted doc\sample\PCLoginEvent.txt, which contained outdated information. * Follow-up r16812, fixed file encoding. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16813 54d463be-8e91-2dee-dedb-b68131a5f0ec
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:" + (@str$=="StRiNg1");
- mes "Comparision eqNG:" + (@str$=="sTrInG2");
- mes "Comparision neOK:" + (@str$!="00000");
- mes "Comparision neNG:" + (@str$!="StRiNg1");
- mes "Comparision gtOK:" + ("aab">"aaa");
- mes "Comparision ltNG:" + ("aab"<"aaa");
+ mes "Comparison eqOK:" + (@str$=="StRiNg1");
+ mes "Comparison eqNG:" + (@str$=="sTrInG2");
+ mes "Comparison neOK:" + (@str$!="00000");
+ mes "Comparison neNG:" + (@str$!="StRiNg1");
+ mes "Comparison gtOK:" + ("aab">"aaa");
+ mes "Comparison ltNG:" + ("aab"<"aaa");
next;
input @str2$;
mes "You've entered '" + @str2$ + "' string.";