北大侠客行MUD论坛

 找回密码
 注册
搜索
热搜: 新手 wiki 升级
123
返回列表 发新帖
楼主: djy

颜色触发怎么做?

[复制链接]
发表于 2011-1-9 12:03:38 | 显示全部楼层
不好意思啦

恩,对了,我用的客户端是tintin++,该怎么判断呢?

用上面写的不行啊。

这是说明:
Syntax: #action {message} {commands} {priority}
The #action command can be used to respond with one or several commands to a specific message send by the mud. The %1-99 variables are substituted from the message and can be used in the command part of the action. The priority part is optional and determines the priority of the action, it defaults to 5.
If the message starts with ~ color codes must be matched. You can turn on #config convert to display meta characters in order to make color triggers.

Using a tilda you can create color triggers to capture otherwise difficult to trigger text, to see color codes use: #config convert on.
Example: #action {~^\e[1;37m%1} {#showme {--Shown in bold white: %1}}

北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2011-1-12 00:51:56 | 显示全部楼层
tintin++颜色触发成功啦

步骤:

先打开#config convert on进行颜色code提取

然后#action 你的颜色code前加上~即可触发
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|北大侠客行MUD ( 京ICP备16065414号-1 )

GMT+8, 2024-11-28 07:26 PM , Processed in 0.009409 second(s), 12 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表