CheckGameDiamond » 历史记录 » 版本 4
yangdefeng, 2022-05-17 14:53
1 | 1 | machenhe | _*%{color:green}checkGameDiamond%*_ |
---|---|---|---|
2 | |||
3 | 3 | yangdefeng | 检测<$gameDiamond>数量是否满足条件 |
4 | 1 | machenhe | |
5 | 标签:命令定义|checkGameDiamond |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 |参数2 | |
||
9 | |checkGameDiamond |操作符(>,<,=) |数目 | |
||
10 | |||
11 | 说明: |
||
12 | * 参数1 |
||
13 | 操作符(>,<,=) |
||
14 | ** >:大于相应数值 |
||
15 | ** <:小于相应数值 |
||
16 | ** =:等于相应数值 |
||
17 | |||
18 | * 参数2 |
||
19 | 数量 |
||
20 | |||
21 | *%{color:deepskyblue}脚本示例:%* |
||
22 | |||
23 | bq. [<notextile>@</notextile>checkGameDiamond] |
||
24 | #if |
||
25 | checkGameDiamond > 100 |
||
26 | #act |
||
27 | 4 | yangdefeng | sendmsg 6 大于100,数目:<$gameDiamond> |
28 | 1 | machenhe | |
29 | bq. #if |
||
30 | checkGameDiamond = 100 |
||
31 | #act |
||
32 | 4 | yangdefeng | sendmsg 6 等于100,数目:<$gameDiamond> |
33 | 1 | machenhe | |
34 | bq. #if |
||
35 | checkGameDiamond < 100 |
||
36 | #act |
||
37 | 4 | yangdefeng | sendmsg 6 小于100,数目:<$gameDiamond> |