浪打聊天插件:修订间差异

无编辑摘要
无编辑摘要
标签2017年版源代码编辑
无编辑摘要
标签2017年版源代码编辑
第86行: 第86行:
"msg", "", "^/sc\\s+([千易]\\S+|[^千易])", "schm", ["$args"]
"msg", "", "^/sc\\s+([千易]\\S+|[^千易])", "schm", ["$args"]
"msg", "", "^/sc\\s+[千易]\\s+\\S+", "schm", ["$[2-]", "$1"]
"msg", "", "^/sc\\s+[千易]\\s+\\S+", "schm", ["$[2-]", "$1"]
["me","msg"], "", "^搜索\\s*$", "ashm", []
["me","msg"], "", "^搜索([123]?)\\s+(\\d\\S|\\D)\\S*", "schm", ["$apply(args => [args[0], args[$str($_1) || 1]])","$args","Q","易","Y"]
["me","msg"], "", "^下一首\\s*$", "nxtm", []
["msg","me"], "", "^播放\\s+(\\D|\\d\\S)", "plym", ["$args"]
["me","msg"], "", "^(歌單|歌单)\\S*$", "pndm", [""]
["me","msg"], "", "^(來|来|加)一首([123]?)\\s+(\\D|\\d\\S)", "pndm", ["$apply(args => [args[0], args[$str($_1) || 1]])","$args","Q","易","Y"]
["me","msg"], "", "^(來|来|加)一首\\s+(\\d\\s*)+$", "nop", ["$call((idxs)=>mapact('ashm', idxs.pysplit()))","$args"]
["me","msg"], "", "^(來|来|加)一首\\s+(\\d)\\s*-\\s*(\\d)\\s*$", "nop", ["$call((a, b)=>mapact('ashm', span(a,b)))","$_1","$_2"]
["me","msg"], "", "^刪除\\s+(\\d+\\s*)+$", "nop", ["$call((idxs)=>mapact('delm', idxs.pysplit().sort((a,b)=>b-a)))","$args"]
</syntaxhighlight>可以由以下訊息調用<syntaxhighlight lang="bash">
</syntaxhighlight>可以由以下訊息調用<syntaxhighlight lang="bash">
/play 剛好遇見你
/play 剛好遇見你
153

个编辑