summaryrefslogtreecommitdiff
path: root/npc/sample/npc_testchkoption.txt
blob: 07c18bf597e3d23b78cdf60af871c8e805ea16ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
prontera.gat,156,89,6	script	test_chkoption	117,{
	mes "Please enter a value of type!";
	input @value;
	if(checkoption(@value) == 1) goto L1;
	if(checkoption(@value) == 0) goto L0;
	end;
	L1:
		mes "True!";
		close;
		end;
	L0:
		mes "False!";
		close;
		end;
}