ConferTitle » 历史记录 » 版本 1
machenhe, 2022-05-06 13:48
| 1 | 1 | machenhe | _*%{color:green}conferTitle%*_ |
|---|---|---|---|
| 2 | 赋予角色指定称号 |
||
| 3 | |||
| 4 | 标签:命令定义|conferTitle |
||
| 5 | |||
| 6 | *格式* |
||
| 7 | |_.命令名 |_.参数1 | |
||
| 8 | |conferTitle |称号名称 | |
||
| 9 | |||
| 10 | *说明* |
||
| 11 | * 参数1: 道具表中定义的某个称号道具 |
||
| 12 | 以下表中,字段StdMode为70或71的道具 |
||
| 13 | ..\\Mud2\\DB\\StdItems.CSV |
||
| 14 | %{color:deepPink}给予称号时,请确认对应称号道具存在% |
||
| 15 | |||
| 16 | - |
||
| 17 | - |
||
| 18 | |||
| 19 | *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
| 20 | |||
| 21 | bq. [<notextile>@</notextile>main] |
||
| 22 | #say |
||
| 23 | <添加称号/<notextile>@</notextile>添加称号>\\ \\ |
||
| 24 | <删除称号/<notextile>@</notextile>删除称号>\\ \\ |
||
| 25 | <检查称号数量/<notextile>@</notextile>检查称号数量>\\ \\ |
||
| 26 | |
||
| 27 | [<notextile>@</notextile>添加称号] |
||
| 28 | #if |
||
| 29 | not checkTitle 狂暴之力 |
||
| 30 | #act |
||
| 31 | *%{color:green}conferTitle%* 狂暴之力 |
||
| 32 | sendTipsMsg 特戒提示,获得了狂暴之力称号/scolor=222 |
||
| 33 | #elseAct |
||
| 34 | sendTipsMsg 特戒提示, 已经有了该称号/scolor=222 |
||
| 35 | |
||
| 36 | [<notextile>@</notextile>删除称号] |
||
| 37 | #if |
||
| 38 | checkTitle 狂暴之力 |
||
| 39 | #act |
||
| 40 | depriveTitle 狂暴之力 |
||
| 41 | sendTipsMsg 特戒提示,删除了狂暴之力称号/scolor=222 |
||
| 42 | #elseAct |
||
| 43 | sendTipsMsg 特戒提示, 你没有该称号,不用删除/scolor=222 |
||
| 44 | |
||
| 45 | [<notextile>@</notextile>检查称号数量] |
||
| 46 | #if |
||
| 47 | checkFengHaoCount > 0 |
||
| 48 | #act |
||
| 49 | messageBox 你最少有1个称号 |
||
| 50 | #elseAct |
||
| 51 | messageBox 你1个称号也没有 |