论坛

Please or 注册 to create posts and topics.

如何使用雪儿设置VIP成员

雪儿有个特殊的匹配方式叫regexid:

这个匹配用来匹配群成员的ID, 所以可以针对某个,或某些群成员设置一些特定的规则, 比如只让某些人发图片, 只让某些人说脏话等等。当然, 也可以给某些人使拌子, 比如他一说话就删除的恶作剧。

这里我来给大家演示一下怎么加脏话VIP。

使用 mod:notDirtyWords 这个动作豁免脏话检测, 前面用 regexid: 来限制被豁免的成员。

$$$regexid:^(539065210|929544238|947618329)$===~mod:notDirtyWords

如果你需要再加一个ID, 或多个ID, 建议不要直接加新的规则, 而是先用 /listrule 命令找出之前加的规则序号, 然后用序号来更新原规则。 比如我这里刚才加的规则序号是25, 我可以用 $$25 指令来更新规则25, 加入新的ID 1080138604, 记得ID之间用 | 隔开, 小心头尾不要有多余的竖线, 否则会匹配所有人。

$$25regexid:^(539065210|929544238|947618329|1080138604)$===~mod:notDirtyWords

 

为什么用 mod:notDirtyWords 呢? 有兴趣的可以看 此贴 https://www.dengnz.com/forum/topic/40/

This is super helpful for managing chat dynamics! I can definitely see how regexid combined with mod:notDirtyWords could create some really unique group experiences. It makes me think about how much control one can have, almost like playing Solar Smash with chat rules instead of planets! Thanks for the detailed explanation and the tip about updating existing rules.