CheckCastleWar » 历史记录 » 版本 2
chenjun, 2022-05-23 17:03
1 | 1 | yangdefeng | h4. _*%{color:green}checkCastleWar%*_ |
---|---|---|---|
2 | |||
3 | 检测攻城活动是否开启状态 |
||
4 | |||
5 | 标签:命令定义|checkCastleWar |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 | |
||
9 | |checkCastleWar |城堡名称 | |
||
10 | |||
11 | *说明* |
||
12 | * 参数1: 城堡名称 |
||
13 | 2 | chenjun | ** 获取路径举例,1号城堡的城堡名称 |
14 | ..\Castle\1\SabukW.txt |
||
15 | [Setup] |
||
16 | CastleName=跨服皇城 |
||
17 | 1 | yangdefeng | |
18 | |||
19 | - |
||
20 | - |
||
21 | |||
22 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
23 | |||
24 | - |
||
25 | - |
||
26 | |||
27 | bq. [@main] |
||
28 | #if |
||
29 | %{color:lightGrey};检测攻城活动是否开启状态% |
||
30 | %{color:lightGrey};checkCastleWar 城堡名称% |
||
31 | *{color:green}checkCastleWar* 跨服沙巴克 |
||
32 | #act |
||
33 | [[sendMsg]] 6 攻城活动开启中 |
||
34 | #elseact |
||
35 | sendMsg 6 攻城活动未开启 |