GetGuildList » 历史记录 » 修订 3
修订 2 (tejie, 2025-07-03 11:35) → 修订 3/4 (tejie, 2025-07-03 11:40)
h4. _*%{color:green}getGuildList%*_
获取当前服务器的全部行会列表,返回以","分隔的字符串
标签:命令定义^getGuildList
*格式*
|命令名 |参数1 |
|getGuildList |返回变量|
*说明*
|参数1|返回变量 参数1: 返回变量
返回以","分隔的行会名称字符串| 返回以","分隔的行会名称字符串
-
-
*%{color:deepskyblue}特戒引擎脚本示例:%*
bq. [<notextile>@</notextile>main]
#say
<创建行会/<notextile>@</notextile>创建>\\ \\
<解散行会/<notextile>@</notextile>解散>\\ \\
<打开行会界面/<notextile>@</notextile>行会界面>\\ \\
<全服行会列表/<notextile>@</notextile>行会列表>\\ \\
[<notextile>@</notextile>创建]
#if
not [[haveGuild]]
#act
%{color:lightGrey};创建行会,以玩家角色名为行会名称%
[[addGuild]] <$userName> self
[[sendTipsMsg]] 行会创建成功/fcolor=222
#elseAct
sendTipsMsg 你有组织,不能创建/fcolor=222
[<notextile>@</notextile>解散]
#if
[[isGuildMaster]]
#act
[[disband]]
sendTipsMsg 你解散了行会/fcolor=222
#elseAct
sendTipsMsg 你不是会长/fcolor=222
[<notextile>@</notextile>行会界面]
#if
#act
[[openSysUi]] 3
[<notextile>@</notextile>行会列表]
#act
*%{color:green}getGuildList%* s$行会列表
print <$str(s$行会列表)>
sendTipsMsg 请在控制台查看/fcolor=222