|
楼主 |
发表于 2019-3-9 22:56:40
|
显示全部楼层
function songxin_find()
DeleteTriggerGroup("songxin_find")
create_trigger_t('songxin_find1','^>*\\s*\\D*\\s*'..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_find1","keep_evaluating","y")
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_find_begin()
DeleteTriggerGroup("songxin_begin")
create_trigger_t('songxin_begin1','^>*\\s*\\D*\\s*'..job.target..'\\((\\D*)\\)','','sx1job_wait')
SetTriggerOption("songxin_begin1","group","songxin_begin")
SetTriggerOption("songxin_begin1","keep_evaluating","y")
EnableTriggerGroup("songxin_begin",false)
EnableTrigger("songxin_killer1",true)
job.flag()
flag.times=1
local tmppfm = GetVariable("pfmsanqing")
create_alias('kezhiwugongpfm','kezhiwugongpfm','alias pfmpfm '..tmppfm)
exe('jifa all;unset wimpy;set wimpycmd pfmpfm\\hp')
exe('kezhiwugongpfm') |
|