IsGuildMaster » 历史记录 » 版本 1
yangdefeng, 2022-05-09 11:42
1 | 1 | yangdefeng | _*%{color:green}isGuildMaster%*_ |
---|---|---|---|
2 | 检测当前角色是否为行会会长 |
||
3 | |||
4 | 标签:命令定义|isGuildMaster |
||
5 | |||
6 | *格式* |
||
7 | |命令名 | |
||
8 | |isGuildMaster | |
||
9 | |||
10 | *说明* |
||
11 | |||
12 | - |
||
13 | - |
||
14 | |||
15 | *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
16 | |||
17 | |||
18 | bq. [<notextile>@</notextile>main] |
||
19 | #say |
||
20 | <创建行会/<notextile>@</notextile>创建>\\ \\ |
||
21 | <解散行会/<notextile>@</notextile>解散>\\ \\ |
||
22 | <打开行会界面/<notextile>@</notextile>行会界面>\\ \\ |
||
23 | <全服行会列表/<notextile>@</notextile>行会列表>\\ \\ |
||
24 | |
||
25 | [<notextile>@</notextile>创建] |
||
26 | #if |
||
27 | not [[haveGuild]] |
||
28 | #act |
||
29 | %{color:lightGrey};创建行会,以玩家角色名为行会名称% |
||
30 | [[addGuild]] <$userName> self |
||
31 | [[sendTipsMsg]] 行会创建成功/fcolor=222 |
||
32 | #elseAct |
||
33 | sendTipsMsg 你有组织,不能创建/fcolor=222 |
||
34 | |
||
35 | [<notextile>@</notextile>解散] |
||
36 | #if |
||
37 | *%{color:green}isGuildMaster%* |
||
38 | #act |
||
39 | [[disband]] |
||
40 | sendTipsMsg 你解散了行会/fcolor=222 |
||
41 | #elseAct |
||
42 | sendTipsMsg 你不是会长/fcolor=222 |
||
43 | |
||
44 | [<notextile>@</notextile>行会界面] |
||
45 | #if |
||
46 | #act |
||
47 | [[openSysUi]] 3 |
||
48 | |
||
49 | [<notextile>@</notextile>行会列表] |
||
50 | #act |
||
51 | [[getGuildList]] s$行会列表 |
||
52 | print <$str(s$行会列表)> |
||
53 | sendTipsMsg 请在控制台查看/fcolor=222 |