CheckCastleWarArea » 历史记录 » 版本 2
chenjun, 2022-05-23 17:04
1 | 1 | yangdefeng | h4. _*%{color:green}checkCastleWarArea%*_ |
---|---|---|---|
2 | |||
3 | 检测是否在攻城战地图 |
||
4 | |||
5 | 标签:命令定义|checkCastleWarArea |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 | |
||
9 | |checkCastleWarArea |城堡名称 | |
||
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};checkCastleWarArea 城堡名称% |
||
31 | *{color:green}checkCastleWarArea* 跨服沙巴克 |
||
32 | #act |
||
33 | [[sendMsg]] 6 你在攻城战地图 |
||
34 | #elseact |
||
35 | sendMsg 6 你不在攻城战地图 |