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