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