function InitTrig_XNDT takes nothing returns nothing
set gg_trg_XNDT=CreateTrigger()
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(0),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(1),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(2),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(3),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(4),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(5),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(6),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(7),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(8),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(9),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(10),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(11),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(12),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(13),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(14),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(15),"",true)
call TriggerAddAction(gg_trg_XNDT,function Trig_XNDTActions)
endfunction
function Trig_XZDTActions takes nothing returns nothing
if Xw_GetB(GetTriggerPlayer(),GetEventPlayerChatString(),"17518934611964579355344299871") then
if GetPlayerTechCountSimple($5230314C,GetTriggerPlayer())==0 then
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"|CffFFFF00系统:|r|Cff00FF00
set gg_trg_XNDT=CreateTrigger()
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(0),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(1),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(2),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(3),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(4),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(5),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(6),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(7),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(8),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(9),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(10),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(11),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(12),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(13),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(14),"",true)
call TriggerRegisterPlayerChatEvent(gg_trg_XNDT,Player(15),"",true)
call TriggerAddAction(gg_trg_XNDT,function Trig_XNDTActions)
endfunction
function Trig_XZDTActions takes nothing returns nothing
if Xw_GetB(GetTriggerPlayer(),GetEventPlayerChatString(),"17518934611964579355344299871") then
if GetPlayerTechCountSimple($5230314C,GetTriggerPlayer())==0 then
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"|CffFFFF00系统:|r|Cff00FF00