summaryrefslogtreecommitdiff
path: root/doc/sample/npc_testchkoption.txt
blob: 87c100ae7e878d474e89178cc08840c518d06191 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
prontera,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;
}