|
群文件红豆答题用不起啊,求助!总是回答yundao
群文件和论坛的红豆zmud版都下载试过了,答题总是回答answer yundao,文件我是一起放在根目录下的 哪位高手指教!
#TRIGGER {重新搜索数据库!$} {#color bold,green;#file 1 hongdou.txt;checkanswer1=%grep(1,|@answer1|);checkanswer2=%grep(1,|@answer2|);checkanswer3=%grep(1,|@answer3|);checkanswer4=%grep(1,|@answer4|);#math checkanswer (%null(@checkanswer1)+%null(@checkanswer2)+%null(@checkanswer3)+%null(@checkanswer4));#close 1;#case (@checkanswer+1) {#sh 乱码查询启用!} {#sh 乱码查询启用!} {#sh 乱码查询启用!} {#if %pos(|@answer1|,@checkanswer1) {answer 1};#if %pos(|@answer2|,@checkanswer2) {answer 2};#if %pos(|@answer3|,@checkanswer3) {answer 3};#if %pos(|@answer4|,@checkanswer4) {answer 4}} {#wa 2000;answer yundao}} {} 519
#TRIGGER {找到答案!$} {#color bold,green;answermax=%max(@answernum1,@answernum2,@answernum3,@answernum4);#wa 4000;#if @answermax>0 {#if @answernum1=@answermax {answer 1};#if @answernum2=@answermax {answer 2};#if @answernum3=@answermax {answer 3};#if @answernum4=@answermax {answer 4};} {newdb=1;answer yundao}} {} 519
北大侠客行MUD,中国最好的MUD |
|