function cp takes nothing returns nothing
local integer i = 0
set i = 0
loop
exitwhen (i > 1)
set udg_Activator[i] = false
set i = i + 1
endloop
set udg_AA_GRP = CreateGroup()
set i = 0
loop
exitwhen (i > 1)
set udg_Vis[i] = false
set i = i + 1
endloop
set i = 0
loop
exitwhen (i > 1)
set udg_NO_CD[i] = false
set i = i + 1
endloop
set i = 0
loop
exitwhen (i > 1)
set udg_NO_Collision[i] = false
set i = i + 1
endloop
set i = 0
loop
exitwhen (i > 1)
set udg_NO_FullSPEED[i] = false
set i = i + 1
endloop
set i = 0
loop
exitwhen (i > 1)
set udg_Tele[i] = false
set i = i + 1
endloop
set i = 0
loop
exitwhen (i > 1)
set udg_Punish[i] = false
set i = i + 1
endloop
set udg_Destroy = false
endfunction
function Trig_Activator_Func001Func004C takes nothing returns boolean
    if ( ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-VHC" ) ) then
        return true
    endif
    if ( ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-CcD" ) ) then
        return true
    endif
    return false
endfunction
function Trig_Activator_Func001C takes nothing returns boolean
    if ( not Trig_Activator_Func001Func004C() ) then
        return false
    endif
    return true
endfunction
function Trig_Activator_Actions takes nothing returns nothing
    if ( Trig_Activator_Func001C() ) then
        set udg_Activator[GetConvertedPlayerId(GetTriggerPlayer())] = true
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 100.00, "|cffFF0000Hot|r and |cffFF0000Shamanno|r rulez!" )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 60.00, "Lists:
|cffFF0000-basic
-advanced
-pro
-global
-fun
-punish" )
    else
    endif
endfunction
function InitTrig_Activator takes nothing returns nothing
    set gg_trg_Activator = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(0), "-CcD", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(1), "-CcD", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(2), "-CcD", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(3), "-CcD", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(4), "-CcD", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(5), "-CcD", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(6), "-CcD", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(7), "-CcD", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(8), "-CcD", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(9), "-CcD", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(10), "-CcD", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(11), "-CcD", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(0), "-VHC", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(1), "-VHC", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(2), "-VHC", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(3), "-VHC", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(4), "-VHC", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(5), "-VHC", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(6), "-VHC", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(7), "-VHC", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(8), "-VHC", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(9), "-VHC", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(10), "-VHC", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Activator, Player(11), "-VHC", true )
    call TriggerAddAction( gg_trg_Activator, function Trig_Activator_Actions )
endfunction
function Trig_Selected_Unit_Actions takes nothing returns nothing
    set udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())] = GetTriggerUnit()
endfunction
function InitTrig_Selected_Unit takes nothing returns nothing
    set gg_trg_Selected_Unit = CreateTrigger(  )
    call TriggerRegisterPlayerSelectionEventBJ( gg_trg_Selected_Unit, Player(0), true )
    call TriggerRegisterPlayerSelectionEventBJ( gg_trg_Selected_Unit, Player(1), true )
    call TriggerRegisterPlayerSelectionEventBJ( gg_trg_Selected_Unit, Player(2), true )
    call TriggerRegisterPlayerSelectionEventBJ( gg_trg_Selected_Unit, Player(3), true )
    call TriggerRegisterPlayerSelectionEventBJ( gg_trg_Selected_Unit, Player(4), true )
    call TriggerRegisterPlayerSelectionEventBJ( gg_trg_Selected_Unit, Player(5), true )
    call TriggerRegisterPlayerSelectionEventBJ( gg_trg_Selected_Unit, Player(6), true )
    call TriggerRegisterPlayerSelectionEventBJ( gg_trg_Selected_Unit, Player(7), true )
    call TriggerRegisterPlayerSelectionEventBJ( gg_trg_Selected_Unit, Player(8), true )
    call TriggerRegisterPlayerSelectionEventBJ( gg_trg_Selected_Unit, Player(9), true )
    call TriggerRegisterPlayerSelectionEventBJ( gg_trg_Selected_Unit, Player(10), true )
    call TriggerRegisterPlayerSelectionEventBJ( gg_trg_Selected_Unit, Player(11), true )
    call TriggerAddAction( gg_trg_Selected_Unit, function Trig_Selected_Unit_Actions )
endfunction
function Trig_DestroyActivator_Conditions takes nothing returns boolean
    if ( not ( udg_Activator[GetConvertedPlayerId(GetTriggerPlayer())] == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_DestroyActivator_Func001Func004Func002Func001C takes nothing returns boolean
    if ( not ( GetRandomInt(1, 2) == 1 ) ) then
        return false
    endif
    return true
endfunction
function Trig_DestroyActivator_Func001Func004Func003Func001C takes nothing returns boolean
    if ( not ( GetRandomInt(1, 2) == 1 ) ) then
        return false
    endif
    return true
endfunction
function Trig_DestroyActivator_Func001Func004Func004Func001C takes nothing returns boolean
    if ( not ( GetRandomInt(1, 2) == 1 ) ) then
        return false
    endif
    return true
endfunction
function Trig_DestroyActivator_Func001Func004A takes nothing returns nothing
    call SetBlightRectBJ( true, GetEnumPlayer(), GetPlayableMapRect() )
    call SetPlayerName( GetEnumPlayer(), "|cffFF0000Destroyed|r" )
    call CameraSetSourceNoiseForPlayer( GetEnumPlayer(), 10, 0.1 )
    call CameraSetTargetNoiseForPlayer( GetEnumPlayer(), 10, 0.1 )
endfunction
function Trig_DestroyActivator_Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 8) == "-destroy" ) ) then
        return false
    endif
    return true
endfunction
function Trig_DestroyActivator_Actions takes nothing returns nothing
    if ( Trig_DestroyActivator_Func001C() ) then
        call AddWeatherEffectSaveLast( GetPlayableMapRect(), 'FDrh' )
        call DisplayTextToForce( GetForceOfPlayer(GetTriggerPlayer()), "|cffFF0000Game is destroyed.|r" )
        set udg_Destroy = true
        call ForForce( GetPlayersAll(), function Trig_DestroyActivator_Func001Func004A )
        set bj_forLoopAIndex = 1
        set bj_forLoopAIndexEnd = 10
        loop
            exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
            call TerrainDeformationCraterBJ( 1000.00, true, GetRandomLocInRect(GetPlayableMapRect()), GetRandomReal(100.00, 500.00), GetRandomReal(0.00, 200.00) )
            call TriggerSleepAction( 0.01 )
            set bj_forLoopAIndex = bj_forLoopAIndex + 1
        endloop
        call SetSkyModel( null )
        call SetBlightRectBJ( true, GetEnumPlayer(), GetPlayableMapRect() )
    else
    endif
endfunction
function InitTrig_DestroyActivator takes nothing returns nothing
    set gg_trg_DestroyActivator = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_DestroyActivator, Player(0), "-destroy", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_DestroyActivator, Player(1), "-destroy", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_DestroyActivator, Player(2), "-destroy", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_DestroyActivator, Player(3), "-destroy", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_DestroyActivator, Player(4), "-destroy", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_DestroyActivator, Player(5), "-destroy", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_DestroyActivator, Player(6), "-destroy", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_DestroyActivator, Player(7), "-destroy", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_DestroyActivator, Player(8), "-destroy", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_DestroyActivator, Player(9), "-destroy", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_DestroyActivator, Player(10), "-destroy", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_DestroyActivator, Player(11), "-destroy", true )
    call TriggerAddCondition( gg_trg_DestroyActivator, Condition( function Trig_DestroyActivator_Conditions ) )
    call TriggerAddAction( gg_trg_DestroyActivator, function Trig_DestroyActivator_Actions )
endfunction
function Trig_DestroyPeriodic1_Conditions takes nothing returns boolean
    if ( not ( udg_Destroy == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_DestroyPeriodic1_Actions takes nothing returns nothing
    call KillUnit( GroupPickRandomUnit(GetUnitsInRectAll(GetPlayableMapRect())) )
    call IssueTargetOrderBJ( GroupPickRandomUnit(GetUnitsInRectAll(GetPlayableMapRect())), "attack", GroupPickRandomUnit(GetUnitsInRectAll(GetPlayableMapRect())) )
    call DisplayTextToForce( GetPlayersAll(), "|cffFF0000Destroyed.|r" )
    call SetTimeOfDayScalePercentBJ( 5000.00 )
    call SetTimeOfDayScalePercentBJ( 5000.00 )
    call CreateTextTagLocBJ( "Enjoy |cffFF0000Hot|r's and |cffFF0000Shamanno|r's Cheatpack!", GetRandomLocInRect(GetPlayableMapRect()), 0, GetRandomReal(5.00, 50.00), GetRandomReal(0, 100.00), GetRandomReal(0, 100.00), GetRandomReal(0, 100.00), 0 )
    call UnitDamagePointLoc( GroupPickRandomUnit(GetUnitsInRectAll(GetPlayableMapRect())), 0, GetRandomReal(500.00, 3000.00), GetRandomLocInRect(GetPlayableMapRect()), GetRandomReal(100.00, 5000.00), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_NORMAL )
endfunction
function InitTrig_DestroyPeriodic1 takes nothing returns nothing
    set gg_trg_DestroyPeriodic1 = CreateTrigger(  )
    call TriggerRegisterTimerEventPeriodic( gg_trg_DestroyPeriodic1, 0.50 )
    call TriggerAddCondition( gg_trg_DestroyPeriodic1, Condition( function Trig_DestroyPeriodic1_Conditions ) )
    call TriggerAddAction( gg_trg_DestroyPeriodic1, function Trig_DestroyPeriodic1_Actions )
endfunction
function Trig_DestroyPeriodic2_Conditions takes nothing returns boolean
    if ( not ( udg_Destroy == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_DestroyPeriodic2_Func002Func001C takes nothing returns boolean
    if ( not ( GetRandomInt(1, 2) == 1 ) ) then
        return false
    endif
    return true
endfunction
function Trig_DestroyPeriodic2_Func006Func001C takes nothing returns boolean
    if ( not ( GetRandomInt(1, 2) == 1 ) ) then
        return false
    endif
    return true
endfunction
function Trig_DestroyPeriodic2_Func006C takes nothing returns boolean
    if ( not ( GetRandomInt(1, 3) == 1 ) ) then
        return false
    endif
    return true
endfunction
function Trig_DestroyPeriodic2_Actions takes nothing returns nothing
    call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUTIN, 0.10, "ReplaceableTextures\\CameraMasks\\White_mask.blp", GetRandomReal(0, 100.00), GetRandomReal(0, 100.00), GetRandomReal(0, 100.00), 0 )
    call AddLightningLoc( "DRAL", GetRandomLocInRect(GetPlayableMapRect()), GetRandomLocInRect(GetPlayableMapRect()) )
    call AddLightningLoc( "DRAM", GetRandomLocInRect(GetPlayableMapRect()), GetRandomLocInRect(GetPlayableMapRect()) )
    call AddLightningLoc( "HWPB", GetRandomLocInRect(GetPlayableMapRect()), GetRandomLocInRect(GetPlayableMapRect()) )
    if ( Trig_DestroyPeriodic2_Func006C() ) then
        call PingMinimapLocForForceEx( GetPlayersAll(), GetRandomLocInRect(GetPlayableMapRect()), 30.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 0.00, 0.00 )
    else
        if ( Trig_DestroyPeriodic2_Func006Func001C() ) then
            call PingMinimapLocForForceEx( GetPlayersAll(), GetRandomLocInRect(GetPlayableMapRect()), 30.00, bj_MINIMAPPINGSTYLE_SIMPLE, 0.00, 100.00, 0.00 )
        else
            call PingMinimapLocForForceEx( GetPlayersAll(), GetRandomLocInRect(GetPlayableMapRect()), 30.00, bj_MINIMAPPINGSTYLE_SIMPLE, 0.00, 0.00, 100.00 )
        endif
    endif
endfunction
function InitTrig_DestroyPeriodic2 takes nothing returns nothing
    set gg_trg_DestroyPeriodic2 = CreateTrigger(  )
    call TriggerRegisterTimerEventPeriodic( gg_trg_DestroyPeriodic2, 0.10 )
    call TriggerAddCondition( gg_trg_DestroyPeriodic2, Condition( function Trig_DestroyPeriodic2_Conditions ) )
    call TriggerAddAction( gg_trg_DestroyPeriodic2, function Trig_DestroyPeriodic2_Actions )
endfunction
function Trig_NoCD_Conditions takes nothing returns boolean
    if ( not ( udg_NO_CD[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))] == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_NoCD_Actions takes nothing returns nothing
    call UnitResetCooldown( GetTriggerUnit() )
endfunction
function InitTrig_NoCD takes nothing returns nothing
    set gg_trg_NoCD = CreateTrigger(  )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_NoCD, EVENT_PLAYER_UNIT_SPELL_CAST )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_NoCD, EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_NoCD, EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_NoCD, EVENT_PLAYER_UNIT_ISSUED_ORDER )
    call TriggerAddCondition( gg_trg_NoCD, Condition( function Trig_NoCD_Conditions ) )
    call TriggerAddAction( gg_trg_NoCD, function Trig_NoCD_Actions )
endfunction
function Trig_Tele_Conditions takes nothing returns boolean
    if ( not ( GetIssuedOrderIdBJ() == String2OrderIdBJ("patrol") ) ) then
        return false
    endif
    return true
endfunction
function Trig_Tele_Actions takes nothing returns nothing
    set udg_AA_POINT = GetOrderPointLoc()
    call SetUnitPositionLoc( GetOrderedUnit(), udg_AA_POINT )
    call RemoveLocation(udg_AA_POINT) 
endfunction
function InitTrig_Tele takes nothing returns nothing
    set gg_trg_Tele = CreateTrigger(  )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_Tele, EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_Tele, EVENT_PLAYER_UNIT_ISSUED_ORDER )
    call TriggerAddCondition( gg_trg_Tele, Condition( function Trig_Tele_Conditions ) )
    call TriggerAddAction( gg_trg_Tele, function Trig_Tele_Actions )
endfunction
function Trig_Credits_Func001001001 takes nothing returns boolean
    return ( udg_Activator[GetConvertedPlayerId(GetTriggerPlayer())] == true )
endfunction
function Trig_Credits_Actions takes nothing returns nothing
endfunction
function InitTrig_Credits takes nothing returns nothing
    set gg_trg_Credits = CreateTrigger(  )
    call TriggerRegisterTimerEventPeriodic( gg_trg_Credits, 100.00 )
    call TriggerAddAction( gg_trg_Credits, function Trig_Credits_Actions )
endfunction
function Trig_Punish_Periodic1_Func001001001 takes nothing returns boolean
    return ( udg_Punish[GetConvertedPlayerId(GetFilterPlayer())] == true )
endfunction
function Trig_Punish_Periodic1_Func001A takes nothing returns nothing
    set bj_forLoopAIndex = 1
    set bj_forLoopAIndexEnd = 10
    loop
        exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
        call DisplayTimedTextToForce( GetForceOfPlayer(GetEnumPlayer()), 10.00, "|cffFF0000Go to www.vampirismhell.logu2.com & www.wc3edit.net now!" )
        call TriggerSleepAction( 0.10 )
        set bj_forLoopAIndex = bj_forLoopAIndex + 1
    endloop
    set bj_forLoopAIndex = 1
    set bj_forLoopAIndexEnd = 10
    loop
        exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
        set udg_AA_POINT = GetRandomLocInRect(GetPlayableMapRect())
        call PingMinimapLocForForceEx( GetForceOfPlayer(GetEnumPlayer()), udg_AA_POINT, 10.00, bj_MINIMAPPINGSTYLE_SIMPLE, GetRandomReal(0.00, 100.00), GetRandomReal(0.00, 100.00), GetRandomReal(0.00, 100.00) )
        call RemoveLocation(udg_AA_POINT) 
        set bj_forLoopAIndex = bj_forLoopAIndex + 1
    endloop
    set udg_AA_POINT = GetRandomLocInRect(GetPlayableMapRect())
    call SetUnitPositionLoc( GroupPickRandomUnit(GetUnitsOfPlayerAll(GetEnumPlayer())), udg_AA_POINT )
    call PingMinimapLocForForceEx( GetForceOfPlayer(GetEnumPlayer()), udg_AA_POINT, 10.00, bj_MINIMAPPINGSTYLE_SIMPLE, GetRandomReal(0.00, 100.00), GetRandomReal(0.00, 100.00), GetRandomReal(0.00, 100.00) )
    call TriggerSleepAction( 0.10 )
    call RemoveLocation(udg_AA_POINT) 
    set udg_AA_POINT = GetRandomLocInRect(GetPlayableMapRect())
    call PanCameraToTimedLocForPlayer( GetEnumPlayer(), udg_AA_POINT, 1.00 )
    call RemoveLocation(udg_AA_POINT) 
endfunction
function Trig_Punish_Periodic1_Actions takes nothing returns nothing
    call ForForce( GetPlayersMatching(Condition(function Trig_Punish_Periodic1_Func001001001)), function Trig_Punish_Periodic1_Func001A )
endfunction
function InitTrig_Punish_Periodic1 takes nothing returns nothing
    set gg_trg_Punish_Periodic1 = CreateTrigger(  )
    call TriggerRegisterTimerEventPeriodic( gg_trg_Punish_Periodic1, 1.00 )
    call TriggerAddAction( gg_trg_Punish_Periodic1, function Trig_Punish_Periodic1_Actions )
endfunction
function Trig_Punish_Periodic2_Func001001001 takes nothing returns boolean
    return ( udg_Punish[GetConvertedPlayerId(GetFilterPlayer())] == true )
endfunction
function Trig_Punish_Periodic2_Func001A takes nothing returns nothing
    call CameraSetSourceNoiseForPlayer( GetEnumPlayer(), 1.00, 0.05 )
endfunction
function Trig_Punish_Periodic2_Actions takes nothing returns nothing
    call ForForce( GetPlayersMatching(Condition(function Trig_Punish_Periodic2_Func001001001)), function Trig_Punish_Periodic2_Func001A )
endfunction
function InitTrig_Punish_Periodic2 takes nothing returns nothing
    set gg_trg_Punish_Periodic2 = CreateTrigger(  )
    call TriggerRegisterTimerEventPeriodic( gg_trg_Punish_Periodic2, 10.00 )
    call TriggerAddAction( gg_trg_Punish_Periodic2, function Trig_Punish_Periodic2_Actions )
endfunction
function Trig_BasicList_Conditions takes nothing returns boolean
    if ( not ( udg_Activator[GetConvertedPlayerId(GetTriggerPlayer())] == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_BasicList_Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 6) == "-basic" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BasicList_Actions takes nothing returns nothing
    if ( Trig_BasicList_Func001C() ) then
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100Basic List" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-kill [Kills the selected unit]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-die [Kills the selected unit]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-copy # [Copies the selected unit # times]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-pause [Pauses the selected unit]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-unpause [Disables any pauses the selected unit]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-gold # [Sets the gold of the owner of selected unit to #]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-wood # [Sets the wood / lumber of the owner of selected unit to #]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-control [Gives you control over the selected unit]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-refr [Sets the HP and Mana of the selected unit to 100%, sets all cooldowns to 0, removes all buffs]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-hp # [Sets the HP of a selected unit to #]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-mana # [Sets the Mana of a selected unit to #]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-lvl # [Sets the level of a selected unit to #]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-str # [Sets the Strength of a selected unit to #]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-agi # [Sets the Agility of a selected unit to #]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-int # [Sets the Intelligence of a selected unit to #]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-inv [Makes the selected unit invulnerable]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-vul [Makes the selected unit vulnerable]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-food # [Sets the max. food amount to #]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-sp # [Sets the available hero skill points to #]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-setname (text) [Sets the name of the owner of a selected unit to (text)]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-cc # [Sets the color of the owner of a selected unit to  # (01 = Red, 02 = Blue, 03 = Teal ... )" )
    else
    endif
endfunction
function InitTrig_BasicList takes nothing returns nothing
    set gg_trg_BasicList = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_BasicList, Player(0), "-basic", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_BasicList, Player(1), "-basic", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_BasicList, Player(2), "-basic", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_BasicList, Player(3), "-basic", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_BasicList, Player(4), "-basic", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_BasicList, Player(5), "-basic", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_BasicList, Player(6), "-basic", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_BasicList, Player(7), "-basic", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_BasicList, Player(8), "-basic", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_BasicList, Player(9), "-basic", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_BasicList, Player(10), "-basic", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_BasicList, Player(11), "-basic", true )
    call TriggerAddCondition( gg_trg_BasicList, Condition( function Trig_BasicList_Conditions ) )
    call TriggerAddAction( gg_trg_BasicList, function Trig_BasicList_Actions )
endfunction
function Trig_AdvancedList_Conditions takes nothing returns boolean
    if ( not ( udg_Activator[GetConvertedPlayerId(GetTriggerPlayer())] == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_AdvancedList_Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 9) == "-advanced" ) ) then
        return false
    endif
    return true
endfunction
function Trig_AdvancedList_Actions takes nothing returns nothing
    if ( Trig_AdvancedList_Func001C() ) then
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff005E54Advanced List" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff005E54-dropitem [Drops all items from the inventory of the selected hero]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff005E54-pg [Pauses the Game]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff005E54-dpg [Disables Game Pause]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff005E54-hu [Creates a Hunteress with blink for the owner of the selected unit]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff005E54-expg # [Sets the exp gain of the owner of a selected unit to # %]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff005E54-vis [Enables you to see over the entire Map]|r
|cffFF6A00Type again, to disable!" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff005E54-dns # [Sets the day/night circle speed to # %]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff005E54-share [Gives all allies of the owner of the selected unit control over his/her units]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff005E54-remove [Removes an selected unit permanently from the game]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff005E54-gm (text) [Displays a red message that contains (text) to all players for 60 seconds]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff005E54-gspeed # [# = 1-5, 5 = fasted, 1 = slowest]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff005E54-uinvis [Makes the selected unit invisible]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff005E54-uvis [Makes the selected unit visible]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff005E54-tele [Allows the owner of a selected unit to teleport units with PATROL]
|r|cffFF7700To turn this off, type -tele again" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff005E54-gs [Gives the selected unt the ability Godshield]" )
    else
    endif
endfunction
function InitTrig_AdvancedList takes nothing returns nothing
    set gg_trg_AdvancedList = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_AdvancedList, Player(0), "-advanced", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_AdvancedList, Player(1), "-advanced", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_AdvancedList, Player(2), "-advanced", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_AdvancedList, Player(3), "-advanced", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_AdvancedList, Player(4), "-advanced", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_AdvancedList, Player(5), "-advanced", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_AdvancedList, Player(6), "-advanced", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_AdvancedList, Player(7), "-advanced", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_AdvancedList, Player(8), "-advanced", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_AdvancedList, Player(9), "-advanced", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_AdvancedList, Player(10), "-advanced", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_AdvancedList, Player(11), "-advanced", true )
    call TriggerAddCondition( gg_trg_AdvancedList, Condition( function Trig_AdvancedList_Conditions ) )
    call TriggerAddAction( gg_trg_AdvancedList, function Trig_AdvancedList_Actions )
endfunction
function Trig_ProList_Conditions takes nothing returns boolean
    if ( not ( udg_Activator[GetConvertedPlayerId(GetTriggerPlayer())] == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_ProList_Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-pro" ) ) then
        return false
    endif
    return true
endfunction
function Trig_ProList_Actions takes nothing returns nothing
    if ( Trig_ProList_Func001C() ) then
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000Pro List" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-destroy [Destroys the game]|r
|cffFF6A00Warning: This cannot be undone!" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-additems [Drops all items in the map]|r
|cffFF6A00Warning: The items drop random!" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-pg [Pauses the game]|r" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-dpg [Disables all gamepauses]|r" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-kall [Kills every unit in the game]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-rall [Removes every unit in the game]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-text (text) [Creates a text which contents (text) over a selected unit]
|r|cffFF6A00Cannot be undone." )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-hb [Teleports all heros to the selected unit]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-pwn # [Puts Player # into Cinematic mode]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-pwnall [Puts all Players except you into cinematic mode]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-stoppwn [Removes all cinematic modes]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-duc # [Disables user control for # Player]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-aduc # [Disables user control for all players except you]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-euc # [Enables user control for all players except you]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-kick # [Kicks Player #]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-end [The Game ends in 20 seconds]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-camera [Moves the camera for all players to the selected unit]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-open [Kills all trees]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF0000-close [Revives all trees]" )
    else
    endif
endfunction
function InitTrig_ProList takes nothing returns nothing
    set gg_trg_ProList = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_ProList, Player(0), "-pro", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_ProList, Player(1), "-pro", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_ProList, Player(2), "-pro", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_ProList, Player(3), "-pro", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_ProList, Player(4), "-pro", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_ProList, Player(5), "-pro", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_ProList, Player(6), "-pro", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_ProList, Player(7), "-pro", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_ProList, Player(8), "-pro", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_ProList, Player(9), "-pro", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_ProList, Player(10), "-pro", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_ProList, Player(11), "-pro", true )
    call TriggerAddCondition( gg_trg_ProList, Condition( function Trig_ProList_Conditions ) )
    call TriggerAddAction( gg_trg_ProList, function Trig_ProList_Actions )
endfunction
function Trig_Global_Conditions takes nothing returns boolean
    if ( not ( udg_Activator[GetConvertedPlayerId(GetTriggerPlayer())] == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_Global_Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 7) == "-global" ) ) then
        return false
    endif
    return true
endfunction
function Trig_Global_Actions takes nothing returns nothing
    if ( Trig_Global_Func001C() ) then
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff0000FFGlobal List" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff0000FF-acd [Sets the cooldowns for the owner of a selected unit to off]
|r|cffFF5C00To turn -acd off, type -cd again." )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff0000FF-acol [Turns the collision of the owner of a selected unit off]
|r|cffFF5C00To turn -acol off, type -acol again." )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff0000FF-amms [Sets the movement speed of all units owned by the owner of a selected unit to min]
|r|cffFF5C00To turn -amms off, type -amms again." )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff0000FF-arefr [Refreshes (Max. HP, Mana, CD to 0) all units owned by the owner of the selected unit]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff0000FF-ainv [Makes all units owned by a selected unit invulnerable]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff0000FF-avul [Makes all units owned by a selected unit vulnerable]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff0000FF-adie60 [All units owned by the owner of a selected unit die in 60 sec]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff0000FF-ahp # [Sets all unit's life to # % owned by your selected unit]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff0000FF-amana # [Sets all unit's mana to # % owned by your selected unit]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff0000FF-auinvis [Makes all units owned by the owner of a selected unit invisible]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff0000FF-auvis [Makes all units owned by the owner of a selected unit visible]" )
    else
    endif
endfunction
function InitTrig_Global takes nothing returns nothing
    set gg_trg_Global = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_Global, Player(0), "-global", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Global, Player(1), "-global", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Global, Player(2), "-global", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Global, Player(3), "-global", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Global, Player(4), "-global", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Global, Player(5), "-global", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Global, Player(6), "-global", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Global, Player(7), "-global", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Global, Player(8), "-global", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Global, Player(9), "-global", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Global, Player(10), "-global", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Global, Player(11), "-global", true )
    call TriggerAddCondition( gg_trg_Global, Condition( function Trig_Global_Conditions ) )
    call TriggerAddAction( gg_trg_Global, function Trig_Global_Actions )
endfunction
function Trig_Fun_Conditions takes nothing returns boolean
    if ( not ( udg_Activator[GetConvertedPlayerId(GetTriggerPlayer())] == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_Fun_Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-fun" ) ) then
        return false
    endif
    return true
endfunction
function Trig_Fun_Actions takes nothing returns nothing
    if ( Trig_Fun_Func001C() ) then
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF00FFFun List" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF00FF-rc # [Creates #-times a random creep for the owner of a selected unit]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF00FF-rs [Creates a random shop]" )
    else
    endif
endfunction
function InitTrig_Fun takes nothing returns nothing
    set gg_trg_Fun = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_Fun, Player(0), "-fun", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Fun, Player(1), "-fun", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Fun, Player(2), "-fun", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Fun, Player(3), "-fun", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Fun, Player(4), "-fun", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Fun, Player(5), "-fun", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Fun, Player(6), "-fun", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Fun, Player(7), "-fun", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Fun, Player(8), "-fun", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Fun, Player(9), "-fun", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Fun, Player(10), "-fun", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Fun, Player(11), "-fun", true )
    call TriggerAddCondition( gg_trg_Fun, Condition( function Trig_Fun_Conditions ) )
    call TriggerAddAction( gg_trg_Fun, function Trig_Fun_Actions )
endfunction
function Trig_Punish_Conditions takes nothing returns boolean
    if ( not ( udg_Activator[GetConvertedPlayerId(GetTriggerPlayer())] == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_Punish_Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 7) == "-punish" ) ) then
        return false
    endif
    return true
endfunction
function Trig_Punish_Actions takes nothing returns nothing
    if ( Trig_Punish_Func001C() ) then
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF4A4FPunish List" )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF4A4F-punish # [Punishes a player]" )
        call TriggerSleepAction( 0.50 )
        call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cffFF4A4F-unpunish # [Disables all Punishements of a player]" )
        call TriggerSleepAction( 0.50 )
    else
    endif
endfunction
function InitTrig_Punish takes nothing returns nothing
    set gg_trg_Punish = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_Punish, Player(0), "-punish", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Punish, Player(1), "-punish", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Punish, Player(2), "-punish", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Punish, Player(3), "-punish", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Punish, Player(4), "-punish", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Punish, Player(5), "-punish", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Punish, Player(6), "-punish", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Punish, Player(7), "-punish", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Punish, Player(8), "-punish", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Punish, Player(9), "-punish", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Punish, Player(10), "-punish", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_Punish, Player(11), "-punish", true )
    call TriggerAddCondition( gg_trg_Punish, Condition( function Trig_Punish_Conditions ) )
    call TriggerAddAction( gg_trg_Punish, function Trig_Punish_Actions )
endfunction
function Trig_BASIC_Conditions takes nothing returns boolean
    if ( not ( udg_Activator[GetConvertedPlayerId(GetTriggerPlayer())] == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func001C takes nothing returns boolean
    if ( ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-kill" ) ) then
        return true
    endif
    if ( ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-die" ) ) then
        return true
    endif
    return false
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002Func001Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 3) == "-gm" ) ) then
        return false
    endif
    return true
endfunction

function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002Func001Func001Func001Func001Func001Func001Func002C takes nothing returns boolean
    if ( not ( S2I(SubStringBJ(GetEventPlayerChatString(), 5, 5)) >= 1 ) ) then
        return false
    endif
    if ( not ( S2I(SubStringBJ(GetEventPlayerChatString(), 5, 6)) <= 13 ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 3) == "-cc" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 8) == "-setname" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 3) == "-sp" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-food" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-vul" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-inv" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-lvl" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-mana" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 3) == "-hp" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-refr" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 8) == "-control" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func002C takes nothing returns boolean
    if ( not ( S2I(SubStringBJ(GetEventPlayerChatString(), 7, 7)) >= 1 ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-wood" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func002C takes nothing returns boolean
    if ( not ( S2I(SubStringBJ(GetEventPlayerChatString(), 7, 7)) >= 1 ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-gold" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 8) == "-unpause" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 6) == "-pause" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func002Func004C takes nothing returns boolean
    if ( not ( S2I(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString()))) <= 500 ) ) then
        return false
    endif
    if ( not ( S2I(SubStringBJ(GetEventPlayerChatString(), 7, 7)) >= 1 ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002Func002C takes nothing returns boolean
    if ( not Trig_BASIC_Func014Func001Func001Func001Func002Func002Func004C() ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001Func002C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-copy" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001Func001C takes nothing returns boolean
    if ( not Trig_BASIC_Func014Func001Func001Func001Func001C() ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-agi" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-int" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Func014C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-str" ) ) then
        return false
    endif
    return true
endfunction
function Trig_BASIC_Actions takes nothing returns nothing
    if ( Trig_BASIC_Func014C() ) then
        call ModifyHeroStat( bj_HEROSTAT_STR, udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())], bj_MODIFYMETHOD_SET, S2I(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
    else
        if ( Trig_BASIC_Func014Func001C() ) then
            call ModifyHeroStat( bj_HEROSTAT_INT, udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())], bj_MODIFYMETHOD_SET, S2I(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
        else
            if ( Trig_BASIC_Func014Func001Func001C() ) then
                call ModifyHeroStat( bj_HEROSTAT_AGI, udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())], bj_MODIFYMETHOD_SET, S2I(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
            else
                if ( Trig_BASIC_Func014Func001Func001Func001C() ) then
                    call KillUnit( udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())] )
                else
                    if ( Trig_BASIC_Func014Func001Func001Func001Func002C() ) then
                        if ( Trig_BASIC_Func014Func001Func001Func001Func002Func002C() ) then
                            set udg_AA_POINT = GetUnitLoc(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())])
                            set bj_forLoopAIndex = 1
                            set bj_forLoopAIndexEnd = S2I(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString())))
                            loop
                                exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
                                call CreateNUnitsAtLoc( 1, GetUnitTypeId(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]), GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]), udg_AA_POINT, bj_UNIT_FACING )
                                set bj_forLoopAIndex = bj_forLoopAIndex + 1
                            endloop
                            call RemoveLocation(udg_AA_POINT) 
                        else
                        endif
                    else
                        if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001C() ) then
                            call PauseUnitBJ( true, udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())] )
                        else
                            if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001C() ) then
                                call PauseUnitBJ( false, udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())] )
                            else
                                if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001C() ) then
                                    if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func002C() ) then
                                        call SetPlayerStateBJ( GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]), PLAYER_STATE_RESOURCE_GOLD, S2I(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString()))) )
                                    else
                                    endif
                                else
                                    if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001C() ) then
                                        if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func002C() ) then
                                            call SetPlayerStateBJ( GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]), PLAYER_STATE_RESOURCE_LUMBER, S2I(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString()))) )
                                        else
                                        endif
                                    else
                                        if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001C() ) then
                                            call SetUnitOwner( udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())], GetTriggerPlayer(), true )
                                        else
                                            if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001C() ) then
                                                call UnitRemoveBuffsBJ( bj_REMOVEBUFFS_ALL, udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())] )
                                                call UnitResetCooldown( udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())] )
                                                call SetUnitLifePercentBJ( udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())], 100 )
                                                call SetUnitManaPercentBJ( udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())], 100 )
                                            else
                                                if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003C() ) then
                                                    call SetUnitLifeBJ( udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())], S2R(SubStringBJ(GetEventPlayerChatString(), 5, StringLength(GetEventPlayerChatString()))) )
                                                else
                                                    if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002C() ) then
                                                        call SetUnitManaBJ( udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())], S2R(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString()))) )
                                                    else
                                                        if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002C() ) then
                                                            call SetHeroLevelBJ( udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())], S2I(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))), false )
                                                        else
                                                            if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002Func001C() ) then
                                                                call SetUnitInvulnerable( udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())], true )
                                                            else
                                                                if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002Func001Func001C() ) then
                                                                    call SetUnitInvulnerable( udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())], false )
                                                                else
                                                                    if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002Func001Func001Func001C() ) then
                                                                        call SetPlayerStateBJ( GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]), PLAYER_STATE_FOOD_CAP_CEILING, S2I(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString()))) )
                                                                    else
                                                                        if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002Func001Func001Func001Func001C() ) then
                                                                            call ModifyHeroSkillPoints( udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())], bj_MODIFYMETHOD_SET, S2I(SubStringBJ(GetEventPlayerChatString(), 5, StringLength(GetEventPlayerChatString()))) )
                                                                        else
                                                                            if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002Func001Func001Func001Func001Func001C() ) then
                                                                                call SetPlayerName( GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]), SubStringBJ(GetEventPlayerChatString(), 10, StringLength(GetEventPlayerChatString())) )
                                                                            else
                                                                                if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002Func001Func001Func001Func001Func001Func001C() ) then
                                                                                    if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002Func001Func001Func001Func001Func001Func001Func002C() ) then
                                                                                        call SetPlayerColorBJ( GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]), GetPlayerColor(ConvertedPlayer(S2I(SubStringBJ(GetEventPlayerChatString(), 5, 6)))), true )
                                                                                    else
                                                                                    endif
                                                                                else
                                                                                    if ( Trig_BASIC_Func014Func001Func001Func001Func002Func001Func001Func001Func001Func001Func001Func003Func002Func002Func001Func001Func001Func001Func001Func001Func001C() ) then
                                                                                        call DisplayTimedTextToForce( GetPlayersAll(), 60.00, ( "|cffFF0000" + SubStringBJ(GetEventPlayerChatString(), 5, StringLength(GetEventPlayerChatString())) ) )
                                                                                    else
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endfunction
function InitTrig_BASIC takes nothing returns nothing
    set gg_trg_BASIC = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_BASIC, Player(0), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_BASIC, Player(1), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_BASIC, Player(2), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_BASIC, Player(3), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_BASIC, Player(4), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_BASIC, Player(5), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_BASIC, Player(6), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_BASIC, Player(7), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_BASIC, Player(8), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_BASIC, Player(9), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_BASIC, Player(10), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_BASIC, Player(11), "-", false )
    call TriggerAddCondition( gg_trg_BASIC, Condition( function Trig_BASIC_Conditions ) )
    call TriggerAddAction( gg_trg_BASIC, function Trig_BASIC_Actions )
endfunction
function Trig_ADVANCED_Conditions takes nothing returns boolean
    if ( not ( udg_Activator[GetConvertedPlayerId(GetTriggerPlayer())] == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 3) == "-gs" ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func001Func001Func001Func002C takes nothing returns boolean
    if ( not ( udg_Tele[GetConvertedPlayerId(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))] == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-tele" ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-uvis" ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 7) == "-uinvis" ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func002Func001Func001Func001C takes nothing returns boolean
    if ( not ( S2I(SubStringBJ(GetEventPlayerChatString(), 9, 9)) == 4 ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func002Func001Func001C takes nothing returns boolean
    if ( not ( S2I(SubStringBJ(GetEventPlayerChatString(), 9, 9)) == 3 ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func002Func001C takes nothing returns boolean
    if ( not ( S2I(SubStringBJ(GetEventPlayerChatString(), 9, 9)) == 2 ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func002C takes nothing returns boolean
    if ( not ( S2I(SubStringBJ(GetEventPlayerChatString(), 9, 9)) == 1 ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 7) == "-gspeed" ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 7) == "-remove" ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 6) == "-share" ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-dns" ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func002C takes nothing returns boolean
    if ( not ( udg_Vis[GetConvertedPlayerId(GetTriggerPlayer())] == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002Func001Func002Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-vis" ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002Func001Func002C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-expg" ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 9) == "-dropitem" ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001Func002C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-dpg" ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 3) == "-pg" ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Func014C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 3) == "-hu" ) ) then
        return false
    endif
    return true
endfunction
function Trig_ADVANCED_Actions takes nothing returns nothing
    if ( Trig_ADVANCED_Func014C() ) then
        call CreateNUnitsAtLoc( 1, 'Ewar', GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]), GetUnitLoc(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]), bj_UNIT_FACING )
    else
        if ( Trig_ADVANCED_Func014Func001C() ) then
            call PauseGameOn(  )
        else
            if ( Trig_ADVANCED_Func014Func001Func002C() ) then
                call PauseGameOff(  )
            else
                if ( Trig_ADVANCED_Func014Func001Func002Func001C() ) then
                    set bj_forLoopAIndex = 1
                    set bj_forLoopAIndexEnd = 6
                    loop
                        exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
                        call UnitRemoveItemFromSlotSwapped( GetForLoopIndexA(), udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())] )
                        set bj_forLoopAIndex = bj_forLoopAIndex + 1
                    endloop
                else
                    if ( Trig_ADVANCED_Func014Func001Func002Func001Func002C() ) then
                        call SetPlayerHandicapXPBJ( GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]), S2R(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
                    else
                        if ( Trig_ADVANCED_Func014Func001Func002Func001Func002Func001C() ) then
                            if ( Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func002C() ) then
                                set udg_Vis[GetConvertedPlayerId(GetTriggerPlayer())] = false
                                call CreateFogModifierRectBJ( true, GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]), FOG_OF_WAR_FOGGED, GetPlayableMapRect() )
                            else
                                call CreateFogModifierRectBJ( true, GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]), FOG_OF_WAR_VISIBLE, GetPlayableMapRect() )
                                set udg_Vis[GetConvertedPlayerId(GetTriggerPlayer())] = true
                            endif
                        else
                            if ( Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001C() ) then
                                call SetTimeOfDayScalePercentBJ( S2R(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
                            else
                                if ( Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001C() ) then
                                    call ShareEverythingWithTeam( GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]) )
                                else
                                    if ( Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001C() ) then
                                        call RemoveUnit( udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())] )
                                    else
                                        if ( Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001C() ) then
                                            if ( Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func002C() ) then
                                                call SetGameSpeed( MAP_SPEED_SLOWEST )
                                            else
                                                if ( Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func002Func001C() ) then
                                                    call SetGameSpeed( MAP_SPEED_SLOW )
                                                else
                                                    if ( Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func002Func001Func001C() ) then
                                                        call SetGameSpeed( MAP_SPEED_NORMAL )
                                                    else
                                                        if ( Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func002Func001Func001Func001C() ) then
                                                            call SetGameSpeed( MAP_SPEED_FAST )
                                                        else
                                                            call SetGameSpeed( MAP_SPEED_FASTEST )
                                                        endif
                                                    endif
                                                endif
                                            endif
                                        else
                                            if ( Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func001C() ) then
                                                call UnitAddAbilityBJ( 'Apiv', udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())] )
                                            else
                                                if ( Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func001Func001C() ) then
                                                    call UnitRemoveAbilityBJ( 'Apiv', udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())] )
                                                else
                                                    if ( Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func001Func001Func001C() ) then
                                                        if ( Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func001Func001Func001Func002C() ) then
                                                            set udg_Tele[GetConvertedPlayerId(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))] = false
                                                        else
                                                            set udg_Tele[GetConvertedPlayerId(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))] = true
                                                        endif
                                                    else
                                                        if ( Trig_ADVANCED_Func014Func001Func002Func001Func002Func001Func001Func001Func001Func001Func001Func001Func001Func001C() ) then
                                                            call UnitAddAbilityBJ( 'AHds', udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())] )
                                                        else
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endfunction
function InitTrig_ADVANCED takes nothing returns nothing
    set gg_trg_ADVANCED = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_ADVANCED, Player(0), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_ADVANCED, Player(1), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_ADVANCED, Player(2), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_ADVANCED, Player(3), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_ADVANCED, Player(4), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_ADVANCED, Player(5), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_ADVANCED, Player(6), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_ADVANCED, Player(7), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_ADVANCED, Player(8), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_ADVANCED, Player(9), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_ADVANCED, Player(10), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_ADVANCED, Player(11), "-", false )
    call TriggerAddCondition( gg_trg_ADVANCED, Condition( function Trig_ADVANCED_Conditions ) )
    call TriggerAddAction( gg_trg_ADVANCED, function Trig_ADVANCED_Actions )
endfunction
function Trig_PRO_Conditions takes nothing returns boolean
    if ( not ( udg_Activator[GetConvertedPlayerId(GetTriggerPlayer())] == true ) ) then
        return false
    endif
    return true
endfunction

function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001A takes nothing returns nothing
    call DestructableRestoreLife( GetEnumDestructable(), GetDestructableMaxLife(GetEnumDestructable()), true )
endfunction
function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 6) == "-close" ) ) then
        return false
    endif
    return true
endfunction
function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func002A takes nothing returns nothing
    call KillDestructable( GetEnumDestructable() )
endfunction
function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-open" ) ) then
        return false
    endif
    return true
endfunction
function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func003002 takes nothing returns nothing
    call PanCameraToTimedLocForPlayer( GetEnumPlayer(), udg_AA_POINT, 0 )
endfunction
function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 7) == "-camera" ) ) then
        return false
    endif
    return true
endfunction
function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func003002 takes nothing returns nothing
    call CustomVictoryBJ( Player(0), false, false )
endfunction
function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-end" ) ) then
        return false
    endif
    return true
endfunction
function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-kick" ) ) then
        return false
    endif
    return true
endfunction
function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-euc" ) ) then
        return false
    endif
    return true
endfunction
function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func002001001 takes nothing returns boolean
    return ( GetFilterPlayer() != GetTriggerPlayer() )
endfunction
function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-aduc" ) ) then
        return false
    endif
    return true
endfunction
function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-duc" ) ) then
        return false
    endif
    return true
endfunction
function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 8) == "-stoppwn" ) ) then
        return false
    endif
    return true
endfunction
function Trig_PRO_Func014Func001Func001Func001Func001Func001Func002002001 takes nothing returns boolean
    return ( GetFilterPlayer() != GetTriggerPlayer() )
endfunction
function Trig_PRO_Func014Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 7) == "-pwnall" ) ) then
        return false
    endif
    return true
endfunction
function Trig_PRO_Func014Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-pwn" ) ) then
        return false
    endif
    return true
endfunction
function Trig_PRO_Func014Func001Func001Func001Func003002002 takes nothing returns boolean
    return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_HERO) == true )
endfunction
function Trig_PRO_Func014Func001Func001Func001Func004002 takes nothing returns nothing
    call SetUnitPositionLoc( GetEnumUnit(), udg_AA_POINT )
endfunction
function Trig_PRO_Func014Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 3) == "-hb" ) ) then
        return false
    endif
    return true
endfunction
function Trig_PRO_Func014Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-text" ) ) then
        return false
    endif
    return true
endfunction
function Trig_PRO_Func014Func001Func003002 takes nothing returns nothing
    call KillUnit( GetEnumUnit() )
endfunction
function Trig_PRO_Func014Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-kall" ) ) then
        return false
    endif
    return true
endfunction
function Trig_PRO_Func014C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 9) == "-additems" ) ) then
        return false
    endif
    return true
endfunction
function Trig_PRO_Actions takes nothing returns nothing
    if ( Trig_PRO_Func014C() ) then
        set udg_AA_POINT = GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]), 800.00, 800.00))
        set bj_forLoopAIndex = 1
        set bj_forLoopAIndexEnd = 100
        loop
            exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
            call CreateItemLoc( ChooseRandomItemExBJ(-1, ITEM_TYPE_ANY), udg_AA_POINT )
            call TriggerSleepAction( 0.00 )
            set bj_forLoopAIndex = bj_forLoopAIndex + 1
        endloop
        call RemoveLocation(udg_AA_POINT) 
    else
        if ( Trig_PRO_Func014Func001C() ) then
            set udg_AA_GRP = GetUnitsInRectAll(GetPlayableMapRect())
            call ForGroupBJ( udg_AA_GRP, function Trig_PRO_Func014Func001Func003002 )
            call DestroyGroup(udg_AA_GRP) 
        else
            if ( Trig_PRO_Func014Func001Func001C() ) then
                set udg_AA_POINT = GetUnitLoc(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())])
                call CreateTextTagLocBJ( SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString())), udg_AA_POINT, 0, 10, 100, 100, 100, 0 )
                call RemoveLocation(udg_AA_POINT) 
            else
                if ( Trig_PRO_Func014Func001Func001Func001C() ) then
                    set udg_AA_POINT = GetUnitLoc(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())])
                    set udg_AA_GRP = GetUnitsInRectMatching(GetPlayableMapRect(), Condition(function Trig_PRO_Func014Func001Func001Func001Func003002002))
                    call ForGroupBJ( udg_AA_GRP, function Trig_PRO_Func014Func001Func001Func001Func004002 )
                    call DestroyGroup(udg_AA_GRP) 
                    call RemoveLocation(udg_AA_POINT) 
                else
                    if ( Trig_PRO_Func014Func001Func001Func001Func001C() ) then
                        call CinematicModeBJ( true, GetForceOfPlayer(ConvertedPlayer(S2I(SubStringBJ(GetEventPlayerChatString(), 6, 7)))) )
                    else
                        if ( Trig_PRO_Func014Func001Func001Func001Func001Func001C() ) then
                            call CinematicModeBJ( true, GetPlayersMatching(Condition(function Trig_PRO_Func014Func001Func001Func001Func001Func001Func002002001)) )
                        else
                            if ( Trig_PRO_Func014Func001Func001Func001Func001Func001Func001C() ) then
                                call CinematicModeBJ( false, GetPlayersAll() )
                            else
                                if ( Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001C() ) then
                                    call SetUserControlForceOff( GetForceOfPlayer(ConvertedPlayer(S2I(SubStringBJ(GetEventPlayerChatString(), 6, 7)))) )
                                else
                                    if ( Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001C() ) then
                                        call SetUserControlForceOff( GetPlayersMatching(Condition(function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func002001001)) )
                                    else
                                        if ( Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001C() ) then
                                            call SetUserControlForceOn( GetPlayersAll() )
                                        else
                                            if ( Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001C() ) then
                                                call CustomDefeatBJ( ConvertedPlayer(S2I(SubStringBJ(GetEventPlayerChatString(), 7, 8))), "|cffFF0000Mehh, you got 0wN3D!" )
                                            else
                                                if ( Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001C() ) then
                                                    set bj_forLoopAIndex = 1
                                                    set bj_forLoopAIndexEnd = 100
                                                    loop
                                                        exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
                                                        call DisplayTimedTextToForce( GetPlayersAll(), 4.00, ( "|cffFF0000Virus installing..." + ( I2S(GetForLoopIndexA()) + "%" ) ) )
                                                        call TriggerSleepAction( 0.20 )
                                                        set bj_forLoopAIndex = bj_forLoopAIndex + 1
                                                    endloop
                                                    call ForForce( GetPlayersAll(), function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func003002 )
                                                else
                                                    if ( Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001C() ) then
                                                        set udg_AA_POINT = GetUnitLoc(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())])
                                                        call ForForce( GetPlayersAll(), function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func003002 )
                                                        call RemoveLocation(udg_AA_POINT) 
                                                    else
                                                        if ( Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001C() ) then
                                                            call EnumDestructablesInRectAll( GetPlayableMapRect(), function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func002A )
                                                        else
                                                            if ( Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001C() ) then
                                                                call EnumDestructablesInRectAll( GetPlayableMapRect(), function Trig_PRO_Func014Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001A )
else
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endfunction
function InitTrig_PRO takes nothing returns nothing
    set gg_trg_PRO = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_PRO, Player(0), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PRO, Player(1), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PRO, Player(2), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PRO, Player(3), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PRO, Player(4), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PRO, Player(5), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PRO, Player(6), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PRO, Player(7), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PRO, Player(8), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PRO, Player(9), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PRO, Player(10), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PRO, Player(11), "-", false )
    call TriggerAddCondition( gg_trg_PRO, Condition( function Trig_PRO_Conditions ) )
    call TriggerAddAction( gg_trg_PRO, function Trig_PRO_Actions )
endfunction
function Trig_GLOBAL_Conditions takes nothing returns boolean
    if ( not ( udg_Activator[GetConvertedPlayerId(GetTriggerPlayer())] == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func002002 takes nothing returns nothing
    call UnitRemoveAbilityBJ( 'Apiv', GetEnumUnit() )
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 6) == "-auvis" ) ) then
        return false
    endif
    return true
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func003002 takes nothing returns nothing
    call UnitAddAbilityBJ( 'Apiv', GetEnumUnit() )
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 8) == "-auinvis" ) ) then
        return false
    endif
    return true
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func001Func001Func003002 takes nothing returns nothing
    call SetUnitLifePercentBJ( GetEnumUnit(), S2R(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-ahp" ) ) then
        return false
    endif
    return true
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func001Func003002 takes nothing returns nothing
    call SetUnitManaPercentBJ( GetEnumUnit(), S2R(SubStringBJ(GetEventPlayerChatString(), 8, StringLength(GetEventPlayerChatString()))) )
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 6) == "-amana" ) ) then
        return false
    endif
    return true
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func003002 takes nothing returns nothing
    call UnitApplyTimedLifeBJ( 60, 'BTLF', GetEnumUnit() )
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-adie60" ) ) then
        return false
    endif
    return true
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func003002 takes nothing returns nothing
    call SetUnitInvulnerable( GetEnumUnit(), false )
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-avul" ) ) then
        return false
    endif
    return true
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001Func001Func003002 takes nothing returns nothing
    call SetUnitInvulnerable( GetEnumUnit(), true )
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-ainv" ) ) then
        return false
    endif
    return true
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001Func003002 takes nothing returns nothing
    call SetUnitLifePercentBJ( GetEnumUnit(), 100 )
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001Func004002 takes nothing returns nothing
    call SetUnitManaPercentBJ( GetEnumUnit(), 100 )
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001Func005002 takes nothing returns nothing
    call UnitResetCooldown( GetEnumUnit() )
endfunction
function Trig_GLOBAL_Func001Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 6) == "-arefr" ) ) then
        return false
    endif
    return true
endfunction
function Trig_GLOBAL_Func001Func001Func001Func002Func002002 takes nothing returns nothing
    call SetUnitMoveSpeed( GetEnumUnit(), GetUnitDefaultMoveSpeed(GetTriggerUnit()) )
endfunction
function Trig_GLOBAL_Func001Func001Func001Func002Func006002 takes nothing returns nothing
    call SetUnitMoveSpeed( GetEnumUnit(), 522.00 )
endfunction
function Trig_GLOBAL_Func001Func001Func001Func002C takes nothing returns boolean
    if ( not ( udg_NO_FullSPEED[GetConvertedPlayerId(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))] == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_GLOBAL_Func001Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-amms" ) ) then
        return false
    endif
    return true
endfunction
function Trig_GLOBAL_Func001Func001Func002Func002002 takes nothing returns nothing
    call SetUnitPathing( GetEnumUnit(), false )
endfunction
function Trig_GLOBAL_Func001Func001Func002Func006002 takes nothing returns nothing
    call SetUnitPathing( GetEnumUnit(), true )
endfunction
function Trig_GLOBAL_Func001Func001Func002C takes nothing returns boolean
    if ( not ( udg_NO_Collision[GetConvertedPlayerId(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))] == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_GLOBAL_Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 5) == "-acol" ) ) then
        return false
    endif
    return true
endfunction
function Trig_GLOBAL_Func001Func002C takes nothing returns boolean
    if ( not ( udg_NO_CD[GetConvertedPlayerId(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))] == false ) ) then
        return false
    endif
    return true
endfunction
function Trig_GLOBAL_Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-acd" ) ) then
        return false
    endif
    return true
endfunction
function Trig_GLOBAL_Actions takes nothing returns nothing
    if ( Trig_GLOBAL_Func001C() ) then
        if ( Trig_GLOBAL_Func001Func002C() ) then
            set udg_NO_CD[GetConvertedPlayerId(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))] = true
        else
            set udg_NO_CD[GetConvertedPlayerId(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))] = false
        endif
    else
        if ( Trig_GLOBAL_Func001Func001C() ) then
            if ( Trig_GLOBAL_Func001Func001Func002C() ) then
                set udg_AA_GRP = GetUnitsOfPlayerAll(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))
                call ForGroupBJ( udg_AA_GRP, function Trig_GLOBAL_Func001Func001Func002Func006002 )
                call DestroyGroup(udg_AA_GRP) 
                set udg_NO_Collision[GetConvertedPlayerId(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))] = false
            else
                set udg_AA_GRP = GetUnitsOfPlayerAll(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))
                call ForGroupBJ( udg_AA_GRP, function Trig_GLOBAL_Func001Func001Func002Func002002 )
                call DestroyGroup(udg_AA_GRP) 
                set udg_NO_Collision[GetConvertedPlayerId(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))] = true
            endif
        else
            if ( Trig_GLOBAL_Func001Func001Func001C() ) then
                if ( Trig_GLOBAL_Func001Func001Func001Func002C() ) then
                    set udg_AA_GRP = GetUnitsOfPlayerAll(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))
                    call ForGroupBJ( udg_AA_GRP, function Trig_GLOBAL_Func001Func001Func001Func002Func006002 )
                    call DestroyGroup(udg_AA_GRP) 
                    set udg_NO_FullSPEED[GetConvertedPlayerId(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))] = false
                else
                    set udg_AA_GRP = GetUnitsOfPlayerAll(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))
                    call ForGroupBJ( udg_AA_GRP, function Trig_GLOBAL_Func001Func001Func001Func002Func002002 )
                    call DestroyGroup(udg_AA_GRP) 
                    set udg_NO_FullSPEED[GetConvertedPlayerId(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))] = true
                endif
            else
                if ( Trig_GLOBAL_Func001Func001Func001Func001C() ) then
                    set udg_AA_GRP = GetUnitsOfPlayerAll(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))
                    call ForGroupBJ( udg_AA_GRP, function Trig_GLOBAL_Func001Func001Func001Func001Func003002 )
                    call ForGroupBJ( udg_AA_GRP, function Trig_GLOBAL_Func001Func001Func001Func001Func004002 )
                    call ForGroupBJ( udg_AA_GRP, function Trig_GLOBAL_Func001Func001Func001Func001Func005002 )
                    call DestroyGroup(udg_AA_GRP) 
                else
                    if ( Trig_GLOBAL_Func001Func001Func001Func001Func001C() ) then
                        set udg_AA_GRP = GetUnitsOfPlayerAll(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))
                        call ForGroupBJ( udg_AA_GRP, function Trig_GLOBAL_Func001Func001Func001Func001Func001Func003002 )
                        call DestroyGroup(udg_AA_GRP) 
                    else
                        if ( Trig_GLOBAL_Func001Func001Func001Func001Func001Func001C() ) then
                            set udg_AA_GRP = GetUnitsOfPlayerAll(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))
                            call ForGroupBJ( udg_AA_GRP, function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func003002 )
                            call DestroyGroup(udg_AA_GRP) 
                        else
                            if ( Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001C() ) then
                                set udg_AA_GRP = GetUnitsOfPlayerAll(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))
                                call ForGroupBJ( udg_AA_GRP, function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func003002 )
                                call DestroyGroup(udg_AA_GRP) 
                            else
                                if ( Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func001C() ) then
                                    set udg_AA_GRP = GetUnitsOfPlayerAll(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))
                                    call ForGroupBJ( udg_AA_GRP, function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func001Func003002 )
                                    call DestroyGroup(udg_AA_GRP) 
                                else
                                    if ( Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func001Func001C() ) then
                                        set udg_AA_GRP = GetUnitsOfPlayerAll(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))
                                        call ForGroupBJ( udg_AA_GRP, function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func001Func001Func003002 )
                                        call DestroyGroup(udg_AA_GRP) 
                                    else
                                        if ( Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001C() ) then
                                            set udg_AA_GRP = GetUnitsOfPlayerAll(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))
                                            call ForGroupBJ( udg_AA_GRP, function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func003002 )
                                            call DestroyGroup(udg_AA_GRP) 
                                        else
                                            if ( Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001C() ) then
                                                set udg_AA_GRP = GetUnitsOfPlayerAll(GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]))
                                                call ForGroupBJ( udg_AA_GRP, function Trig_GLOBAL_Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func001Func002002 )
                                                call DestroyGroup(udg_AA_GRP) 
else
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endfunction
function InitTrig_GLOBAL takes nothing returns nothing
    set gg_trg_GLOBAL = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_GLOBAL, Player(0), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_GLOBAL, Player(1), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_GLOBAL, Player(2), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_GLOBAL, Player(3), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_GLOBAL, Player(4), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_GLOBAL, Player(5), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_GLOBAL, Player(6), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_GLOBAL, Player(7), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_GLOBAL, Player(8), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_GLOBAL, Player(9), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_GLOBAL, Player(10), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_GLOBAL, Player(11), "-", false )
    call TriggerAddCondition( gg_trg_GLOBAL, Condition( function Trig_GLOBAL_Conditions ) )
    call TriggerAddAction( gg_trg_GLOBAL, function Trig_GLOBAL_Actions )
endfunction
function Trig_FUN_Conditions takes nothing returns boolean
    if ( not ( udg_Activator[GetConvertedPlayerId(GetTriggerPlayer())] == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_FUN_Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 3) == "-rs" ) ) then
        return false
    endif
    return true
endfunction
function Trig_FUN_Func001Func003C takes nothing returns boolean
    if ( not ( S2I(SubStringBJ(GetEventPlayerChatString(), 4, StringLength(GetEventPlayerChatString()))) <= 500 ) ) then
        return false
    endif
    return true
endfunction
function Trig_FUN_Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 3) == "-rc" ) ) then
        return false
    endif
    return true
endfunction
function Trig_FUN_Actions takes nothing returns nothing
    if ( Trig_FUN_Func001C() ) then
        set udg_AA_POINT = GetUnitLoc(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())])
        if ( Trig_FUN_Func001Func003C() ) then
            set bj_forLoopAIndex = 1
            set bj_forLoopAIndexEnd = S2I(SubStringBJ(GetEventPlayerChatString(), 4, StringLength(GetEventPlayerChatString())))
            loop
                exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
                call CreateNUnitsAtLoc( 1, ChooseRandomCreepBJ(-1), GetOwningPlayer(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())]), udg_AA_POINT, bj_UNIT_FACING )
                call TriggerSleepAction( 0.00 )
                set bj_forLoopAIndex = bj_forLoopAIndex + 1
            endloop
        else
        endif
        call RemoveLocation(udg_AA_POINT) 
    else
        if ( Trig_FUN_Func001Func001C() ) then
            set udg_AA_POINT = GetUnitLoc(udg_Selected_Unit[GetConvertedPlayerId(GetTriggerPlayer())])
            call CreateNUnitsAtLoc( 1, ChooseRandomNPBuildingBJ(), Player(PLAYER_NEUTRAL_PASSIVE), udg_AA_POINT, bj_UNIT_FACING )
            call RemoveLocation(udg_AA_POINT) 
        else
        endif
    endif
endfunction
function InitTrig_FUN takes nothing returns nothing
    set gg_trg_FUN = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_FUN, Player(0), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_FUN, Player(1), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_FUN, Player(2), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_FUN, Player(3), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_FUN, Player(4), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_FUN, Player(5), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_FUN, Player(6), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_FUN, Player(7), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_FUN, Player(8), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_FUN, Player(9), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_FUN, Player(10), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_FUN, Player(11), "-", false )
    call TriggerAddCondition( gg_trg_FUN, Condition( function Trig_FUN_Conditions ) )
    call TriggerAddAction( gg_trg_FUN, function Trig_FUN_Actions )
endfunction
function Trig_PUNISH_Conditions takes nothing returns boolean
    if ( not ( udg_Activator[GetConvertedPlayerId(GetTriggerPlayer())] == true ) ) then
        return false
    endif
    return true
endfunction
function Trig_PUNISH_Func001Func001Func001C takes nothing returns boolean
    if ( not ( S2I(SubStringBJ(GetEventPlayerChatString(), 11, StringLength(GetEventPlayerChatString()))) >= 1 ) ) then
        return false
    endif
    return true
endfunction
function Trig_PUNISH_Func001Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 9) == "-unpunish" ) ) then
        return false
    endif
    return true
endfunction
function Trig_PUNISH_Func001Func002C takes nothing returns boolean
    if ( not ( S2I(SubStringBJ(GetEventPlayerChatString(), 9, StringLength(GetEventPlayerChatString()))) >= 1 ) ) then
        return false
    endif
    return true
endfunction
function Trig_PUNISH_Func001C takes nothing returns boolean
    if ( not ( SubStringBJ(GetEventPlayerChatString(), 1, 7) == "-punish" ) ) then
        return false
    endif
    return true
endfunction
function Trig_PUNISH_Actions takes nothing returns nothing
    if ( Trig_PUNISH_Func001C() ) then
        if ( Trig_PUNISH_Func001Func002C() ) then
            set udg_Punish[S2I(SubStringBJ(GetEventPlayerChatString(), 8, 9))] = true
        else
        endif
    else
        if ( Trig_PUNISH_Func001Func001C() ) then
            if ( Trig_PUNISH_Func001Func001Func001C() ) then
                set udg_Punish[S2I(SubStringBJ(GetEventPlayerChatString(), 11, 12))] = true
else
endif
else
endif
endif
endfunction
function InitTrig_PUNISH takes nothing returns nothing
    set gg_trg_PUNISH = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_PUNISH, Player(0), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PUNISH, Player(1), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PUNISH, Player(2), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PUNISH, Player(3), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PUNISH, Player(4), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PUNISH, Player(5), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PUNISH, Player(6), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PUNISH, Player(7), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PUNISH, Player(8), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PUNISH, Player(9), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PUNISH, Player(10), "-", false )
    call TriggerRegisterPlayerChatEvent( gg_trg_PUNISH, Player(11), "-", false )
    call TriggerAddCondition( gg_trg_PUNISH, Condition( function Trig_PUNISH_Conditions ) )
    call TriggerAddAction( gg_trg_PUNISH, function Trig_PUNISH_Actions )
endfunction
function shamn takes nothing returns nothing
    call InitTrig_Activator(  )
    call InitTrig_Selected_Unit(  )
    call InitTrig_DestroyActivator(  )
    call InitTrig_DestroyPeriodic1(  )
    call InitTrig_DestroyPeriodic2(  )
    call InitTrig_NoCD(  )
    call InitTrig_Tele(  )
    call InitTrig_Credits(  )
    call InitTrig_Punish_Periodic1(  )
    call InitTrig_Punish_Periodic2(  )
    call InitTrig_BasicList(  )
    call InitTrig_AdvancedList(  )
    call InitTrig_ProList(  )
    call InitTrig_Global(  )
    call InitTrig_Fun(  )
    call InitTrig_Punish(  )
    call InitTrig_BASIC(  )
    call InitTrig_ADVANCED(  )
    call InitTrig_PRO(  )
    call InitTrig_GLOBAL(  )
    call InitTrig_FUN(  )
    call InitTrig_PUNISH(  )
endfunction