项目

一般

简介

SetAutoRecycleEnable » 历史记录 » 版本 4

yangdefeng, 2022-05-26 19:32

1 3 yangdefeng
h4. _*%{color:green}setAutoRecycleEnable%*_
2 1 machenhe
3
设置自动回收权限是否启用
4
5
标签:命令定义|setAutoRecycleEnable
6
7
*格式*
8
|命令名			|参数1		|
9
|setAutoRecycleEnable	|是否开启权限	|
10
11
说明:
12 2 yangdefeng
* 参数1: 是否开启权限
13 1 machenhe
** 1:开启
14
** 0:关闭
15
16 3 yangdefeng
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
17 1 machenhe
18 4 yangdefeng
-
19
-
20
21
bq. [<notextile>@</notextile>main]
22
#say
23
\ \<text:开启自动回收权限/<notextile>@</notextile>开启自动回收权限]
24
\ \<text:关闭自动回收权限/<notextile>@</notextile>关闭自动回收权限]
25
&nbsp;
26
[<notextile>@</notextile>开启自动回收权限]
27 1 machenhe
#act
28
*{color:green}setAutoRecycleEnable* 1
29
[[sendMsg]] 6 开启了自动回收
30
goto <notextile>@</notextile>自动回收状态切换
31 4 yangdefeng
&nbsp;
32
[<notextile>@</notextile>关闭自动回收权限]
33 1 machenhe
#act
34 3 yangdefeng
*{color:green}setAutoRecycleEnable* 0
35
[[setAutoRecycle]] 0
36 4 yangdefeng
[[sendMsg]] 6 关闭了自动回收
37 1 machenhe
38
39 3 yangdefeng
bq. %{color:deepPink}..\Mir200\Envir\Market_Def\QFunction-0.txt以下触发器%
40
%{color:blue}[<notextile>@</notextile>autoRecycle]%
41 1 machenhe
#if
42 3 yangdefeng
[[equal]] <$autoRecycleEnable> 0
43 1 machenhe
#act
44 3 yangdefeng
[[messageBox]] 未开启自动回收权限
45
break
46
&nbsp;
47
#if
48 1 machenhe
[[equal]] <$autoRecycleEnable> 1
49
#act
50 3 yangdefeng
goto <notextile>@</notextile>勾选框状态切换
51 1 machenhe
&nbsp;
52 3 yangdefeng
[<notextile>@</notextile>勾选框状态切换]
53 1 machenhe
#if
54 3 yangdefeng
[[equal]] <$autoRecycle> 0
55 1 machenhe
#act
56 3 yangdefeng
[[setAutoRecycle]] 1
57 4 yangdefeng
[[sendMsg]] 6 状态:<$autoRecycle>
58 3 yangdefeng
#elseAct
59
[[setAutoRecycle]] 0
60
[[sendMsg]] 6 状态:<$autoRecycle>