• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] Anti-cheat pack

Status
Not open for further replies.
Level 10
Joined
Feb 20, 2008
Messages
448
evry hacker find alway new way to counter current map lock!! i tryed some of those and none work so i was thinking is there any anti cheat pack for ''jj cheat pack aka jj rulz'' it would be lot useful i could hide it into my map and the hacker wont take time to chek a 10 page script >.> a link or anything could be useful thanks

ps at least if some1 got a list of word of jj rulz cheat pack i could make my own and publish it

edit : i know nothing with jass and i gotta put this into the script this is gui convert :/ if some1 could help me to make it better it would own!!! those word are use by msot of popular jj rulz cheat pack,

JASS:
function Trig_anti_jj_cheat_pack_Copy_Copy_Func002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -cheats" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_Copy_Func002002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "-ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_Copy_Func002002002 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_Copy_Func002002 takes nothing returns boolean
    return GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_Copy_Func002002001(), Trig_anti_jj_cheat_pack_Copy_Copy_Func002002002() )
endfunction

function Trig_anti_jj_cheat_pack_Copy_Copy_Conditions takes nothing returns boolean
    if ( not GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_Copy_Func002001(), Trig_anti_jj_cheat_pack_Copy_Copy_Func002002() ) ) then
        return false
    endif
    return true
endfunction

function Trig_anti_jj_cheat_pack_Copy_Copy_Actions takes nothing returns nothing
    call CustomDefeatBJ( Player(1), "TRIGSTR_9107" )
endfunction

//===========================================================================
function InitTrig_anti_jj_cheat_pack_Copy_Copy takes nothing returns nothing
    set gg_trg_anti_jj_cheat_pack_Copy_Copy = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_Copy, Player(1), "  -cheats", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_Copy, Player(1), "  -ca", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_Copy, Player(1), "-ca", true )
    call TriggerAddCondition( gg_trg_anti_jj_cheat_pack_Copy_Copy, Condition( function Trig_anti_jj_cheat_pack_Copy_Copy_Conditions ) )
    call TriggerAddAction( gg_trg_anti_jj_cheat_pack_Copy_Copy, function Trig_anti_jj_cheat_pack_Copy_Copy_Actions )
endfunction

function Trig_anti_jj_cheat_pack_Copy_2_Copy_Func002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -cheats" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_2_Copy_Func002002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "-ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_2_Copy_Func002002002 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_2_Copy_Func002002 takes nothing returns boolean
    return GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_2_Copy_Func002002001(), Trig_anti_jj_cheat_pack_Copy_2_Copy_Func002002002() )
endfunction

function Trig_anti_jj_cheat_pack_Copy_2_Copy_Conditions takes nothing returns boolean
    if ( not GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_2_Copy_Func002001(), Trig_anti_jj_cheat_pack_Copy_2_Copy_Func002002() ) ) then
        return false
    endif
    return true
endfunction

function Trig_anti_jj_cheat_pack_Copy_2_Copy_Actions takes nothing returns nothing
    call CustomDefeatBJ( Player(2), "TRIGSTR_9108" )
endfunction

//===========================================================================
function InitTrig_anti_jj_cheat_pack_Copy_2_Copy takes nothing returns nothing
    set gg_trg_anti_jj_cheat_pack_Copy_2_Copy = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_2_Copy, Player(2), "  -cheats", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_2_Copy, Player(2), "  -ca", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_2_Copy, Player(2), "-ca", true )
    call TriggerAddCondition( gg_trg_anti_jj_cheat_pack_Copy_2_Copy, Condition( function Trig_anti_jj_cheat_pack_Copy_2_Copy_Conditions ) )
    call TriggerAddAction( gg_trg_anti_jj_cheat_pack_Copy_2_Copy, function Trig_anti_jj_cheat_pack_Copy_2_Copy_Actions )
endfunction

function Trig_anti_jj_cheat_pack_Copy_3_Copy_Func002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -cheats" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_3_Copy_Func002002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "-ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_3_Copy_Func002002002 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_3_Copy_Func002002 takes nothing returns boolean
    return GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_3_Copy_Func002002001(), Trig_anti_jj_cheat_pack_Copy_3_Copy_Func002002002() )
endfunction

function Trig_anti_jj_cheat_pack_Copy_3_Copy_Conditions takes nothing returns boolean
    if ( not GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_3_Copy_Func002001(), Trig_anti_jj_cheat_pack_Copy_3_Copy_Func002002() ) ) then
        return false
    endif
    return true
endfunction

function Trig_anti_jj_cheat_pack_Copy_3_Copy_Actions takes nothing returns nothing
    call CustomDefeatBJ( Player(3), "TRIGSTR_9109" )
endfunction

//===========================================================================
function InitTrig_anti_jj_cheat_pack_Copy_3_Copy takes nothing returns nothing
    set gg_trg_anti_jj_cheat_pack_Copy_3_Copy = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_3_Copy, Player(3), "  -cheats", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_3_Copy, Player(3), "  -ca", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_3_Copy, Player(3), "-ca", true )
    call TriggerAddCondition( gg_trg_anti_jj_cheat_pack_Copy_3_Copy, Condition( function Trig_anti_jj_cheat_pack_Copy_3_Copy_Conditions ) )
    call TriggerAddAction( gg_trg_anti_jj_cheat_pack_Copy_3_Copy, function Trig_anti_jj_cheat_pack_Copy_3_Copy_Actions )
endfunction

function Trig_anti_jj_cheat_pack_Copy_4_Copy_Func002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -cheats" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_4_Copy_Func002002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "-ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_4_Copy_Func002002002 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_4_Copy_Func002002 takes nothing returns boolean
    return GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_4_Copy_Func002002001(), Trig_anti_jj_cheat_pack_Copy_4_Copy_Func002002002() )
endfunction

function Trig_anti_jj_cheat_pack_Copy_4_Copy_Conditions takes nothing returns boolean
    if ( not GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_4_Copy_Func002001(), Trig_anti_jj_cheat_pack_Copy_4_Copy_Func002002() ) ) then
        return false
    endif
    return true
endfunction

function Trig_anti_jj_cheat_pack_Copy_4_Copy_Actions takes nothing returns nothing
    call CustomDefeatBJ( Player(4), "TRIGSTR_9110" )
endfunction

//===========================================================================
function InitTrig_anti_jj_cheat_pack_Copy_4_Copy takes nothing returns nothing
    set gg_trg_anti_jj_cheat_pack_Copy_4_Copy = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_4_Copy, Player(4), "  -cheats", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_4_Copy, Player(4), "  -ca", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_4_Copy, Player(4), "-ca", true )
    call TriggerAddCondition( gg_trg_anti_jj_cheat_pack_Copy_4_Copy, Condition( function Trig_anti_jj_cheat_pack_Copy_4_Copy_Conditions ) )
    call TriggerAddAction( gg_trg_anti_jj_cheat_pack_Copy_4_Copy, function Trig_anti_jj_cheat_pack_Copy_4_Copy_Actions )
endfunction

function Trig_anti_jj_cheat_pack_Copy_5_Copy_Func002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -cheats" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_5_Copy_Func002002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "-ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_5_Copy_Func002002002 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_5_Copy_Func002002 takes nothing returns boolean
    return GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_5_Copy_Func002002001(), Trig_anti_jj_cheat_pack_Copy_5_Copy_Func002002002() )
endfunction

function Trig_anti_jj_cheat_pack_Copy_5_Copy_Conditions takes nothing returns boolean
    if ( not GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_5_Copy_Func002001(), Trig_anti_jj_cheat_pack_Copy_5_Copy_Func002002() ) ) then
        return false
    endif
    return true
endfunction

function Trig_anti_jj_cheat_pack_Copy_5_Copy_Actions takes nothing returns nothing
    call CustomDefeatBJ( Player(5), "TRIGSTR_9111" )
endfunction

//===========================================================================
function InitTrig_anti_jj_cheat_pack_Copy_5_Copy takes nothing returns nothing
    set gg_trg_anti_jj_cheat_pack_Copy_5_Copy = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_5_Copy, Player(5), "  -cheats", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_5_Copy, Player(5), "  -ca", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_5_Copy, Player(5), "-ca", true )
    call TriggerAddCondition( gg_trg_anti_jj_cheat_pack_Copy_5_Copy, Condition( function Trig_anti_jj_cheat_pack_Copy_5_Copy_Conditions ) )
    call TriggerAddAction( gg_trg_anti_jj_cheat_pack_Copy_5_Copy, function Trig_anti_jj_cheat_pack_Copy_5_Copy_Actions )
endfunction

function Trig_anti_jj_cheat_pack_Copy_6_Copy_Func002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -cheats" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_6_Copy_Func002002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "-ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_6_Copy_Func002002002 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_6_Copy_Func002002 takes nothing returns boolean
    return GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_6_Copy_Func002002001(), Trig_anti_jj_cheat_pack_Copy_6_Copy_Func002002002() )
endfunction

function Trig_anti_jj_cheat_pack_Copy_6_Copy_Conditions takes nothing returns boolean
    if ( not GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_6_Copy_Func002001(), Trig_anti_jj_cheat_pack_Copy_6_Copy_Func002002() ) ) then
        return false
    endif
    return true
endfunction

function Trig_anti_jj_cheat_pack_Copy_6_Copy_Actions takes nothing returns nothing
    call CustomDefeatBJ( Player(6), "TRIGSTR_9112" )
endfunction

//===========================================================================
function InitTrig_anti_jj_cheat_pack_Copy_6_Copy takes nothing returns nothing
    set gg_trg_anti_jj_cheat_pack_Copy_6_Copy = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_6_Copy, Player(6), "  -cheats", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_6_Copy, Player(6), "  -ca", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_6_Copy, Player(6), "-ca", true )
    call TriggerAddCondition( gg_trg_anti_jj_cheat_pack_Copy_6_Copy, Condition( function Trig_anti_jj_cheat_pack_Copy_6_Copy_Conditions ) )
    call TriggerAddAction( gg_trg_anti_jj_cheat_pack_Copy_6_Copy, function Trig_anti_jj_cheat_pack_Copy_6_Copy_Actions )
endfunction

function Trig_anti_jj_cheat_pack_Copy_7_Copy_Func002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -cheats" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_7_Copy_Func002002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "-ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_7_Copy_Func002002002 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_7_Copy_Func002002 takes nothing returns boolean
    return GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_7_Copy_Func002002001(), Trig_anti_jj_cheat_pack_Copy_7_Copy_Func002002002() )
endfunction

function Trig_anti_jj_cheat_pack_Copy_7_Copy_Conditions takes nothing returns boolean
    if ( not GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_7_Copy_Func002001(), Trig_anti_jj_cheat_pack_Copy_7_Copy_Func002002() ) ) then
        return false
    endif
    return true
endfunction

function Trig_anti_jj_cheat_pack_Copy_7_Copy_Actions takes nothing returns nothing
    call CustomDefeatBJ( Player(7), "TRIGSTR_9113" )
endfunction

//===========================================================================
function InitTrig_anti_jj_cheat_pack_Copy_7_Copy takes nothing returns nothing
    set gg_trg_anti_jj_cheat_pack_Copy_7_Copy = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_7_Copy, Player(7), "  -cheats", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_7_Copy, Player(7), "  -ca", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_7_Copy, Player(7), "-ca", true )
    call TriggerAddCondition( gg_trg_anti_jj_cheat_pack_Copy_7_Copy, Condition( function Trig_anti_jj_cheat_pack_Copy_7_Copy_Conditions ) )
    call TriggerAddAction( gg_trg_anti_jj_cheat_pack_Copy_7_Copy, function Trig_anti_jj_cheat_pack_Copy_7_Copy_Actions )
endfunction

function Trig_anti_jj_cheat_pack_Copy_8_Copy_Func002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -cheats" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_8_Copy_Func002002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "-ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_8_Copy_Func002002002 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_8_Copy_Func002002 takes nothing returns boolean
    return GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_8_Copy_Func002002001(), Trig_anti_jj_cheat_pack_Copy_8_Copy_Func002002002() )
endfunction

function Trig_anti_jj_cheat_pack_Copy_8_Copy_Conditions takes nothing returns boolean
    if ( not GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_8_Copy_Func002001(), Trig_anti_jj_cheat_pack_Copy_8_Copy_Func002002() ) ) then
        return false
    endif
    return true
endfunction

function Trig_anti_jj_cheat_pack_Copy_8_Copy_Actions takes nothing returns nothing
    call CustomDefeatBJ( Player(8), "TRIGSTR_9114" )
endfunction

//===========================================================================
function InitTrig_anti_jj_cheat_pack_Copy_8_Copy takes nothing returns nothing
    set gg_trg_anti_jj_cheat_pack_Copy_8_Copy = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_8_Copy, Player(8), "  -cheats", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_8_Copy, Player(8), "  -ca", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_8_Copy, Player(8), "-ca", true )
    call TriggerAddCondition( gg_trg_anti_jj_cheat_pack_Copy_8_Copy, Condition( function Trig_anti_jj_cheat_pack_Copy_8_Copy_Conditions ) )
    call TriggerAddAction( gg_trg_anti_jj_cheat_pack_Copy_8_Copy, function Trig_anti_jj_cheat_pack_Copy_8_Copy_Actions )
endfunction

function Trig_anti_jj_cheat_pack_Copy_9_Copy_Func002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -cheats" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_9_Copy_Func002002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "-ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_9_Copy_Func002002002 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_9_Copy_Func002002 takes nothing returns boolean
    return GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_9_Copy_Func002002001(), Trig_anti_jj_cheat_pack_Copy_9_Copy_Func002002002() )
endfunction

function Trig_anti_jj_cheat_pack_Copy_9_Copy_Conditions takes nothing returns boolean
    if ( not GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_9_Copy_Func002001(), Trig_anti_jj_cheat_pack_Copy_9_Copy_Func002002() ) ) then
        return false
    endif
    return true
endfunction

function Trig_anti_jj_cheat_pack_Copy_9_Copy_Actions takes nothing returns nothing
    call CustomDefeatBJ( Player(9), "TRIGSTR_9115" )
endfunction

//===========================================================================
function InitTrig_anti_jj_cheat_pack_Copy_9_Copy takes nothing returns nothing
    set gg_trg_anti_jj_cheat_pack_Copy_9_Copy = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_9_Copy, Player(9), "  -cheats", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_9_Copy, Player(9), "  -ca", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_9_Copy, Player(9), "-ca", true )
    call TriggerAddCondition( gg_trg_anti_jj_cheat_pack_Copy_9_Copy, Condition( function Trig_anti_jj_cheat_pack_Copy_9_Copy_Conditions ) )
    call TriggerAddAction( gg_trg_anti_jj_cheat_pack_Copy_9_Copy, function Trig_anti_jj_cheat_pack_Copy_9_Copy_Actions )
endfunction

function Trig_anti_jj_cheat_pack_Copy_10_Copy_Func002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -cheats" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_10_Copy_Func002002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "-ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_10_Copy_Func002002002 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_10_Copy_Func002002 takes nothing returns boolean
    return GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_10_Copy_Func002002001(), Trig_anti_jj_cheat_pack_Copy_10_Copy_Func002002002() )
endfunction

function Trig_anti_jj_cheat_pack_Copy_10_Copy_Conditions takes nothing returns boolean
    if ( not GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_10_Copy_Func002001(), Trig_anti_jj_cheat_pack_Copy_10_Copy_Func002002() ) ) then
        return false
    endif
    return true
endfunction

function Trig_anti_jj_cheat_pack_Copy_10_Copy_Actions takes nothing returns nothing
    call CustomDefeatBJ( Player(10), "TRIGSTR_9116" )
endfunction

//===========================================================================
function InitTrig_anti_jj_cheat_pack_Copy_10_Copy takes nothing returns nothing
    set gg_trg_anti_jj_cheat_pack_Copy_10_Copy = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_10_Copy, Player(10), "  -cheats", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_10_Copy, Player(10), "  -ca", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_10_Copy, Player(10), "-ca", true )
    call TriggerAddCondition( gg_trg_anti_jj_cheat_pack_Copy_10_Copy, Condition( function Trig_anti_jj_cheat_pack_Copy_10_Copy_Conditions ) )
    call TriggerAddAction( gg_trg_anti_jj_cheat_pack_Copy_10_Copy, function Trig_anti_jj_cheat_pack_Copy_10_Copy_Actions )
endfunction

function Trig_anti_jj_cheat_pack_Copy_11_Copy_Func002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -cheats" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_11_Copy_Func002002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "-ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_11_Copy_Func002002002 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_11_Copy_Func002002 takes nothing returns boolean
    return GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_11_Copy_Func002002001(), Trig_anti_jj_cheat_pack_Copy_11_Copy_Func002002002() )
endfunction

function Trig_anti_jj_cheat_pack_Copy_11_Copy_Conditions takes nothing returns boolean
    if ( not GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_11_Copy_Func002001(), Trig_anti_jj_cheat_pack_Copy_11_Copy_Func002002() ) ) then
        return false
    endif
    return true
endfunction

function Trig_anti_jj_cheat_pack_Copy_11_Copy_Actions takes nothing returns nothing
    call CustomDefeatBJ( Player(11), "TRIGSTR_9117" )
endfunction

//===========================================================================
function InitTrig_anti_jj_cheat_pack_Copy_11_Copy takes nothing returns nothing
    set gg_trg_anti_jj_cheat_pack_Copy_11_Copy = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_11_Copy, Player(11), "  -cheats", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_11_Copy, Player(11), "  -ca", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_11_Copy, Player(11), "-ca", true )
    call TriggerAddCondition( gg_trg_anti_jj_cheat_pack_Copy_11_Copy, Condition( function Trig_anti_jj_cheat_pack_Copy_11_Copy_Conditions ) )
    call TriggerAddAction( gg_trg_anti_jj_cheat_pack_Copy_11_Copy, function Trig_anti_jj_cheat_pack_Copy_11_Copy_Actions )
endfunction

function Trig_anti_jj_cheat_pack_Copy_12_Func002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -cheats" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_12_Func002002001 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "-ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_12_Func002002002 takes nothing returns boolean
    return ( GetEventPlayerChatString() == "  -ca" )
endfunction

function Trig_anti_jj_cheat_pack_Copy_12_Func002002 takes nothing returns boolean
    return GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_12_Func002002001(), Trig_anti_jj_cheat_pack_Copy_12_Func002002002() )
endfunction

function Trig_anti_jj_cheat_pack_Copy_12_Conditions takes nothing returns boolean
    if ( not GetBooleanOr( Trig_anti_jj_cheat_pack_Copy_12_Func002001(), Trig_anti_jj_cheat_pack_Copy_12_Func002002() ) ) then
        return false
    endif
    return true
endfunction

function Trig_anti_jj_cheat_pack_Copy_12_Actions takes nothing returns nothing
    call CustomDefeatBJ( Player(0), "TRIGSTR_9106" )
endfunction

//===========================================================================
function InitTrig_anti_jj_cheat_pack_Copy_12 takes nothing returns nothing
    set gg_trg_anti_jj_cheat_pack_Copy_12 = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_12, Player(0), "  -cheats", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_12, Player(0), "  -ca", true )
    call TriggerRegisterPlayerChatEvent( gg_trg_anti_jj_cheat_pack_Copy_12, Player(0), "-ca", true )
    call TriggerAddCondition( gg_trg_anti_jj_cheat_pack_Copy_12, Condition( function Trig_anti_jj_cheat_pack_Copy_12_Conditions ) )
    call TriggerAddAction( gg_trg_anti_jj_cheat_pack_Copy_12, function Trig_anti_jj_cheat_pack_Copy_12_Actions )
endfunction
 
Last edited:
Level 10
Joined
Feb 20, 2008
Messages
448
no this is the code that i made!!! i found that some of jj cheat pack use '-ca' or ' -cheats' to activate cheat if u can make them word ban and crash game its can alway be better than nothing lol pro maker will be able to hide it far into map ^^ i would like to optimize it maybe some other poeple will have idea or script already made to counter jj cheat pack.
Lock a map is good but add an anti cheat is lot better ^^
 
Status
Not open for further replies.
Top