diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-19 15:51:06 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-19 15:51:06 +0000 |
commit | 9c5eb2d16a7344ac7709ca38b2c288bc864f5555 (patch) | |
tree | ec8479cdd93151db891a0b9af271299db7a423a1 /npc/sample | |
parent | 3a129802e4015d81507345d986f50e383f04aa1f (diff) | |
download | hercules-9c5eb2d16a7344ac7709ca38b2c288bc864f5555.tar.gz hercules-9c5eb2d16a7344ac7709ca38b2c288bc864f5555.tar.bz2 hercules-9c5eb2d16a7344ac7709ca38b2c288bc864f5555.tar.xz hercules-9c5eb2d16a7344ac7709ca38b2c288bc864f5555.zip |
translated
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@640 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/sample')
-rw-r--r-- | npc/sample/npc_test_str.txt | 24 |
1 files changed, 12 insertions, 12 deletions
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; } |