diff options
Diffstat (limited to 'npc/sample/npc_testchkoption.txt')
-rw-r--r-- | npc/sample/npc_testchkoption.txt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/npc/sample/npc_testchkoption.txt b/npc/sample/npc_testchkoption.txt index 970da233f..07c18bf59 100644 --- a/npc/sample/npc_testchkoption.txt +++ b/npc/sample/npc_testchkoption.txt @@ -1,15 +1,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;
+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; }
\ No newline at end of file |