Browse Source

translated

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@640 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lupus 20 years ago
parent
commit
615f67f0d3
1 changed files with 12 additions and 12 deletions
  1. 12 12
      npc/sample/npc_test_str.txt

+ 12 - 12
npc/sample/npc_test_str.txt

@@ -1,17 +1,17 @@
-// 文字列変数のテスト
-prontera.gat,164,188,1	script	文字列テスト	112,{
-	set @str$, "文字列1";
-	mes "文字列変数:" + @str$ ;
-	mes "確認:" + @str$ + " ...OK?";
+// Some Test Example
+prontera.gat,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 "比較~eqOK:" + (@str$=="文字列1");
-	mes "比較~eqNG:" + (@str$=="文字列");
-	mes "比較~neOK:" + (@str$!="00000");
-	mes "比較~neNG:" + (@str$!="文字列1");
-	mes "比較~gtOK:" + ("aab">"aaa");
-	mes "比較~ltNG:" + ("aab"<"aaa");
+	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");
 	next;
 	input @str2$;
-	mes "入力データは " + @str2$ + " です。";
+	mes "You've entered '" + @str2$ + "' string.";
 	close;
 }