作者mudder (●○●○●○●○●○●)
看板mud
标题Re: [问题] 触发问题。→观看字串出现行使指令
时间Tue Jul 12 17:09:23 2005
※ 引述《shiuanhung (懒风)》之铭言:
: #tr 向你请教有关
: {teach=[@teach+1];#if {@teach >1} {stop;#var teach 0;look}}
: 我想控制「向你请教有关」的字串出现3次时,我能够 look
: 但是出现触发字串时,会跳出「2222222222 is not a valid integer value」的框框
: 再来zmud会出现「infinite loop in expression detected」的字串
: 请问要如何解决?
Pattern: 向你请教有关
Command: #add teach 1;#if @teach=3 {stop;look;teach=0}
try it..
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 211.74.252.242