yflyu 发表于 2016-9-25 19:30:29

群文件红豆答题用不起啊,求助!总是回答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

yflyu 发表于 2016-10-1 00:31:09

解决办法是要把数据库文件放在和zmud.exe同一个目录下

nuomi 发表于 2016-11-25 11:33:26

回复 2# yflyu


    我在wifi和论坛上找的红豆答题462机器人,下载链接都失效了,能给个你的下载地址么?

xiluo 发表于 2024-6-22 18:41:41

yflyu 发表于 2016-10-1 12:31 AM
解决办法是要把数据库文件放在和zmud.exe同一个目录下

太感谢大神了
页: [1]
查看完整版本: 群文件红豆答题用不起啊,求助!总是回答yundao