1.打开shujian.lua
function setAlias()

create_alias_s('hsst','hsst','husongDashiStart')                  -----------------启动行走hsst
create_alias_s('hsft','hsft','husongFight')                   ----------------手动杀教徒  hsft
create_alias_s('hsqt','hsqt','husongLostEver')               ------------如果任务失败，需要quit一次，命令是：hsqt
以上是robot中断的情况下，手动输入的指令。
2.打开huashan.lua
huashan_finish=function()                 -----------在这个函数的末尾修改为：

    hswc_cs=hswc_cs+1
	if hswc_cs>=3 then
	hswc_cs=0
	SetVariable("jobthird","husong")
	return check_halt(husong)
	else
	return check_halt(check_jobx)
	end
end

以上的意思就是每完成华山任务次数三次，就去问一次护送。如果busy，继续做原有的任务组合。

ps:如果机器中途停住不动了，输入look或hsst，就启动了。

有二个地方任务就是失败了
1.大师跑进了长安城的长街
2，大师跑进了南阳城的密林
你找到了大师也不会跟你走了，任务失败。

3.打开husong.lua
function husongFight(n,l,w)
    flag.idle = nil
    flag.times=1
    dis_all()
	job.killer["魔教教徒"]=score.id .."'s jiaotu"
    EnableTriggerGroup("husongJiaotu",false)
	EnableTriggerGroup("husongFight",true)
	EnableTriggerGroup("husongFinish",true)
    EnableTrigger("hpheqi1",true)
	  job.killer={}
	flag.jiaotu=true
	 exe("kill ".. score.id .."'s jiaotu")
	local tmppfm = GetVariable("pwu")                  ---------------我是调用的pwu,用少林醉棍打的。可以根据自己的情况调用别的
	create_alias('kezhiwugongpfm','kezhiwugongpfm','alias pfmpfm '..tmppfm)
	exe('set wimpy 100;yield no')
	exe('set wimpycmd pfmpfm\\hp')
	exe('unwield xxx;wield xxx')              ---------------此处unwield xxx，就是下掉你的恢复武器。wield xxx就是装上你战斗用的。
	DoAfterSpecial(3,'kezhiwugongpfm',10)
end

function husongDie()
    flag.idle = nil
    --exe("compare ".. score.id .."'s jiaotu")
	exe('unwield xxx;wield xxx')                  ------------------此处是换下战斗用武器，装上恢复武器。
	return husongChkDashi()
end
ps:基本能顺利跑了，完全全自动，无人看守会出现问题，所以还是偶而要看一看的。进了bug房间直接就失败了，或机器停住。
假如有二个号共用一个mush的，huashan.lua就要修改为比如huanshansl.lua,然后在shujian.lua的顶部改为：require "huashansl"