CheckMemberLevel » 历史记录 » 版本 1
machenhe, 2022-04-29 17:37
1 | 1 | machenhe | _*%{color:green}checkMemberLevel%*_ |
---|---|---|---|
2 | |||
3 | 检测角色的会员等级是否满足条件 |
||
4 | |||
5 | 标签:命令定义|checkMemberLevel |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 |参数2 | |
||
9 | |checkMemberLevel |操作符 |等级 | |
||
10 | |||
11 | 说明: |
||
12 | * 参数1:操作符(>,<,=) |
||
13 | |||
14 | * 参数2:等级 |
||
15 | |||
16 | *%{color:deepskyblue}特戒引擎脚本示例:%*: |
||
17 | |||
18 | bq. [<notextile>@</notextile>检测会员等级] |
||
19 | #if |
||
20 | checkMemberLevel > 3 |
||
21 | #act |
||
22 | [[sendmsg]] 6 会员等级大于3 |
||
23 | |||
24 | bq. #if |
||
25 | checkMemberLevel = 3 |
||
26 | #act |
||
27 | sendmsg 6 会员等级等于3 |
||
28 | |||
29 | bq. #if |
||
30 | checkMemberLevel < 3 |
||
31 | #act |
||
32 | sendmsg 6 会员等级小于3 |