行为
checkA_creditPoint
检测混合货币creditPoint数量是否满足条件
标签:命令定义|checkA_creditPoint
格式命令名 | 参数1 | 参数2 |
checkA_creditPoint | 操作符(>,<,=) | 数量 |
- 参数1
操作符(>,<,=)- >:大于相应数值
- <:小于相应数值
- =:等于相应数值
- 参数2
数量
脚本示例:
[@checkA_creditPoint]
#if
checkA_creditPoint > 30
#act
sendmsg 6 大于30,绑定:<$B_creditPoint>,非绑定:<$creditPoint>
#if
checkA_creditPoint = 30
#act
sendmsg 6 等于30,绑定:<$B_creditPoint>,非绑定:<$creditPoint>
#if
checkA_creditPoint < 30
#act
sendmsg 6 小于30,绑定:<$B_creditPoint>,非绑定:<$creditPoint>