DelGuildMember » 历史记录 » 修订 3
修订 2 (tejie, 2025-08-14 11:27) → 修订 3/4 (tejie, 2025-10-18 11:00)
h4. _*%{color:green}delGuildMember%*_
删除指定行会中的指定角色,支持删除离线会员。 删除指定行会中的指定角色
%{color:deepPink}通过[默认行会系统][界面按钮]创建行会时,
无须使用该命令.%
标签:命令定义^delGuildMember
*格式*
|命令名 |参数1 |参数2 |
|delGuildMember |目标行会|目标角色|
*说明*
|参数1|要删除角色的行会名称|
|参数2|要删除的角色名称| 参数1: 要删除角色的行会名称
参数2: 要删除的角色名称
-
-
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
h4. %{color:LightSeaGreen}示例--行会删除会员%
bq. <notextile>[@示例]</notextile>
<删除指定会员/<notextile>@@</notextile>inputString1>
<notextile></notextile>
[@inputString1]
#if
#act
[[getGuildMaster]] <$guildName> s$行会会长
<notextile></notextile>
#if
[[equal]] <$userName> <$str(s$行会会长)>
#act
*{color:green}delguildmember* <$guildName> <$str(s1)>
#elseAct
[[print]] 非本行会会长
-
-
h4. %{color:LightSeaGreen}示例--行会完整行为%
bq. [<notextile>@</notextile>main]
<创建行会/<notextile>@@</notextile>inputString1>\\ \\
<加入行会/<notextile>@</notextile>加入>\\ \\
<删除会员/<notextile>@</notextile>删除>\\ \\
<改会长/<notextile>@</notextile>改会长>\\ \\
[<notextile>@</notextile>inputString1]
#if
[[haveGuild]]
#act
[[messageBox]] 你已有行会,不能创建
break
#if
[[checkGuildName]] s1
#act
[[sendMsg]] 6 该行会名称已被占用
break
#if
not haveGuild
#act
[[addGuild]] <$str(s1)> self
messageBox <$str(s1)>行会创建成功
[[mov]] a$可申请行会名 <$str(s1)>
[<notextile>@</notextile>加入]
#if
#act
[[getGuildList]] s$行会列表
#if
not [[equal]] s$行会列表
#act
[[pgExtractString]] , s$行会列表 s$行会拆分 n0
[[addGuildMember]] <$str(s$行会拆分_1)> <$userName>
messageBox 你已加入行会<$str(s$行会拆分_1)>
#elseAct
messageBox 服务器上还没有行会\\ \\先创建一个\\ \\再换个角色来加入
[<notextile>@</notextile>删除]
#if
haveGuild
#act
*{color:green}delGuildMember* <$guildName> <$userName>
messageBox 你已从<$guildName>行会退出
#elseAct
messageBox 你还没有加入行会
[<notextile>@</notextile>改会长]
#if
[[isGuildMaster]]
#act
messageBox 你已经是会长
break
#if
not haveGuild
#act
messageBox 你还没加入行会
break
#if
#act
[[changeGuildMaster]] <$guildName>
messageBox 恭喜,你现在是<$guildName>会长了