summaryrefslogtreecommitdiff
path: root/npc/sample/npc_testchkoption.txt
blob: 970da233fcef6abae8238e1b71ad7d4c85581c67 (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;
}