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