|
针对更新后的都府任务,我自己写了一点trigger来自动识别密码中的目标地址,如下所示。
很奇怪,当输入chakan命令,系统出现密码是,下述trigger并不能正确识别,但是当我把密码全部复制并再次从命令行中输入,下述trigger就能够正确的识别地址。
已多次测试,都是如此。哪位高手帮我看看是什么问题。Zmud7.22
谢谢了。
孟之经~(meng zhijing~)告诉你:第一个字在:第(??)行,第(??)列。第二个字在:第(??)行,第(??)列。对照~(duizhao~)这页,你就知道你要刺杀的人在哪了。
#var DufuLocationy1 %1
#var DufuLocationx1 %2
#var DufuLocationy2 %3
#var DufuLocationx2 %4
^??║(*)║
#var DufuString %1
#if (%begins( @DufuString, @DufuLocationy1)) {
#if (@DufuLocationx1==子) {#var DufuLocation1 %rightback( %left( @DufuString, 4), 2)}
#if (@DufuLocationx1==丑) {#var DufuLocation1 %rightback( %left( @DufuString, 6), 2)}
#if (@DufuLocationx1==寅) {#var DufuLocation1 %rightback( %left( @DufuString, 8), 2)}
#if (@DufuLocationx1==卯) {#var DufuLocation1 %rightback( %left( @DufuString, 10), 2)}
#if (@DufuLocationx1==辰) {#var DufuLocation1 %rightback( %left( @DufuString, 12), 2)}
#if (@DufuLocationx1==巳) {#var DufuLocation1 %rightback( %left( @DufuString, 14), 2)}
#if (@DufuLocationx1==午) {#var DufuLocation1 %rightback( %left( @DufuString, 16), 2)}
#if (@DufuLocationx1==未) {#var DufuLocation1 %rightback( %left( @DufuString, 18), 2)}
#if (@DufuLocationx1==申) {#var DufuLocation1 %rightback( %left( @DufuString, 20), 2)}
#if (@DufuLocationx1==酉) {#var DufuLocation1 %rightback( %left( @DufuString, 22), 2)}
#if (@DufuLocationx1==戌) {#var DufuLocation1 %rightback( %left( @DufuString, 24), 2)}
#if (@DufuLocationx1==亥) {#var DufuLocation1 %rightback( %left( @DufuString, 26), 2)}
}
#if (%begins( @DufuString, @DufuLocationy2)) {
#if (@DufuLocationx2==子) {#var DufuLocation2 %rightback( %left( @DufuString, 4), 2)}
#if (@DufuLocationx2==丑) {#var DufuLocation2 %rightback( %left( @DufuString, 6), 2)}
#if (@DufuLocationx2==寅) {#var DufuLocation2 %rightback( %left( @DufuString, 8), 2)}
#if (@DufuLocationx2==卯) {#var DufuLocation2 %rightback( %left( @DufuString, 10), 2)}
#if (@DufuLocationx2==辰) {#var DufuLocation2 %rightback( %left( @DufuString, 12), 2)}
#if (@DufuLocationx2==巳) {#var DufuLocation2 %rightback( %left( @DufuString, 14), 2)}
#if (@DufuLocationx2==午) {#var DufuLocation2 %rightback( %left( @DufuString, 16), 2)}
#if (@DufuLocationx2==未) {#var DufuLocation2 %rightback( %left( @DufuString, 18), 2)}
#if (@DufuLocationx2==申) {#var DufuLocation2 %rightback( %left( @DufuString, 20), 2)}
#if (@DufuLocationx2==酉) {#var DufuLocation2 %rightback( %left( @DufuString, 22), 2)}
#if (@DufuLocationx2==戌) {#var DufuLocation2 %rightback( %left( @DufuString, 24), 2)}
#if (@DufuLocationx2==亥) {#var DufuLocation2 %rightback( %left( @DufuString, 26), 2)}
}
#mess {@DufuLocation1 @DufuLocation2} |
|