|
|
发表于 2019-2-19 22:39:28
|
显示全部楼层
- function songxin_find()
- DeleteTriggerGroup("songxin_find")
- create_trigger_t('songxin_find1','^>*\\s*\\D*'..job.target..'\\((\\D*)\\)','','songxin_send')
- create_trigger_t('songxin_find2','^>*\\s*你要送给谁','','songxin_goon')
- create_trigger_t('songxin_find3','^>*\\s*\\D*道:(这封信不是给我的,|你看清楚,)','','songxin_add')
- create_trigger_t('songxin_find4','^>*\\s*(这封信不是送给这个人的。|看清楚点,那是活人吗?!)','','songxin_add')
- create_trigger_t('songxin_find5','^>*\\s*你擦了一把额头的汗,从怀中掏出信交给','','songxin_finish')
- SetTriggerOption("songxin_find1","group","songxin_find")
- SetTriggerOption("songxin_find2","group","songxin_find")
- SetTriggerOption("songxin_find3","group","songxin_find")
- SetTriggerOption("songxin_find4","group","songxin_find")
- SetTriggerOption("songxin_find5","group","songxin_find")
- EnableTriggerGroup("songxin_find",false)
- end
复制代码
- function songxin_add()
- sxjob.cnt=sxjob.cnt + 1
- exe('halt;songxin '..sxjob.id..' '..sxjob.cnt)
- tmp.cnt = 0
- EnableTrigger("hp12",true)
- create_timer_s('songxin',1,'songxin_act_set')
- end
复制代码
- function songxin_goon()
- EnableTrigger("songxin_find1",true)
- flag.wait=0
- DeleteTimer('songxin')
- return walk_wait()
- --thread_resume(lookfor)
- end
复制代码
你没这三个函数? |
|