blob: 78f3cfdf30a02a631fa0054d6aec88ad2ca75c31 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Some Test Example
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�F" + (@str$=="StRiNg1");
mes "Comparision eqNG�F" + (@str$=="sTrInG2");
mes "Comparision neOK�F" + (@str$!="00000");
mes "Comparision neNG�F" + (@str$!="StRiNg1");
mes "Comparision gtOK�F" + ("aab">"aaa");
mes "Comparision ltNG�F" + ("aab"<"aaa");
next;
input @str2$;
mes "You've entered '" + @str2$ + "' string.";
close;
}
|