rathena/npc/sample/npc_test_str.txt
amber d479e29aee Fixed some file types
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-14 16:18:26 +00:00

18 lines
483 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 文字列変数のテスト
prontera.gat,164,188,1 script 文字列テスト 112,{
set @str$, "文字列1";
mes "文字列変数:" + @str$ ;
mes "確認:" + @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");
next;
input @str2$;
mes "入力データは " + @str2$ + " です。";
close;
}