From 9c5eb2d16a7344ac7709ca38b2c288bc864f5555 Mon Sep 17 00:00:00 2001 From: Lupus Date: Sun, 19 Dec 2004 15:51:06 +0000 Subject: translated git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@640 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/sample/npc_test_str.txt | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'npc/sample') diff --git a/npc/sample/npc_test_str.txt b/npc/sample/npc_test_str.txt index 77591a210..1c04927dd 100644 --- a/npc/sample/npc_test_str.txt +++ b/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; } -- cgit v1.2.3-60-g2f50