# Chat String

Grammarm|Matched/Entered chat string
FlagsNative | Function

Returns a chat message entered by a player. Only works in conjunction with the “Chat Message” Event. Use the “Word Of String” function to identify individual words within the string.

# Arguments

Returns — string

native string EventChatMessage(bool matchedOnly);

# Supported triggers

Category: Game / Chat And Console

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4305

        }

        if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4305

        }

        if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4455

    }

    gf_AddScore(StringToInt(StringWord(EventChatMessage(false), 2)));
    gf_UpdateUI();
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:18661

        }

        if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:18661

        }

        if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:18675

    gf_PauseNewItemInfo(true);
    libCamp_gf_HideStoryUI(false, true);
    auto4314B998_val = StringWord(EventChatMessage(false), 2);
    if (auto4314B998_val == "hanson") {
        gf_GoToRoom(ge_RoomID_RoomBridge, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:18687

    else {
    }
    auto4089DBAB_val = StringWord(EventChatMessage(false), 2);
    if (auto4089DBAB_val == "hanson") {
        TriggerExecute(gt_ABChoiceTHanson03, true, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:18968

    }

    gv_idleFidgetStartTime = StringToFixed(StringWord(EventChatMessage(false), 2));
    gv_idleFidgetRepeatTime = StringToFixed(StringWord(EventChatMessage(false), 3));
    UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, (StringExternal("Param/Value/A1191FC4") + FixedToText(gv_idleFidgetStartTime, 1) + StringExternal("Param/Value/48AD46C5") + FixedToText(gv_idleFidgetRepeatTime, 1)));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:18969


    gv_idleFidgetStartTime = StringToFixed(StringWord(EventChatMessage(false), 2));
    gv_idleFidgetRepeatTime = StringToFixed(StringWord(EventChatMessage(false), 3));
    UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, (StringExternal("Param/Value/A1191FC4") + FixedToText(gv_idleFidgetStartTime, 1) + StringExternal("Param/Value/48AD46C5") + FixedToText(gv_idleFidgetRepeatTime, 1)));
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19082

        }

        if (!((StringWord(EventChatMessage(false), 1) == EventChatMessage(true)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19082

        }

        if (!((StringWord(EventChatMessage(false), 1) == EventChatMessage(true)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19092

    }

    lv_roomname = StringWord(EventChatMessage(false), 2);
    lv_name = StringWord(EventChatMessage(false), 3);
    if ((StringContains(lv_roomname, "Armory", c_stringAnywhere, c_stringNoCase) == true)) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19093


    lv_roomname = StringWord(EventChatMessage(false), 2);
    lv_name = StringWord(EventChatMessage(false), 3);
    if ((StringContains(lv_roomname, "Armory", c_stringAnywhere, c_stringNoCase) == true)) {
        lv_room = ge_RoomID_RoomArmory;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:4305

        }

        if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:4305

        }

        if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:4455

    }

    gf_AddScore(StringToInt(StringWord(EventChatMessage(false), 2)));
    gf_UpdateUI();
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:18661

        }

        if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:18661

        }

        if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:18675

    gf_PauseNewItemInfo(true);
    libCamp_gf_HideStoryUI(false, true);
    auto4314B998_val = StringWord(EventChatMessage(false), 2);
    if (auto4314B998_val == "hanson") {
        gf_GoToRoom(ge_RoomID_RoomBridge, false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:18687

    else {
    }
    auto4089DBAB_val = StringWord(EventChatMessage(false), 2);
    if (auto4089DBAB_val == "hanson") {
        TriggerExecute(gt_ABChoiceTHanson03, true, true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:18968

    }

    gv_idleFidgetStartTime = StringToFixed(StringWord(EventChatMessage(false), 2));
    gv_idleFidgetRepeatTime = StringToFixed(StringWord(EventChatMessage(false), 3));
    UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, (StringExternal("Param/Value/A1191FC4") + FixedToText(gv_idleFidgetStartTime, 1) + StringExternal("Param/Value/48AD46C5") + FixedToText(gv_idleFidgetRepeatTime, 1)));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:18969


    gv_idleFidgetStartTime = StringToFixed(StringWord(EventChatMessage(false), 2));
    gv_idleFidgetRepeatTime = StringToFixed(StringWord(EventChatMessage(false), 3));
    UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, (StringExternal("Param/Value/A1191FC4") + FixedToText(gv_idleFidgetStartTime, 1) + StringExternal("Param/Value/48AD46C5") + FixedToText(gv_idleFidgetRepeatTime, 1)));
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:19082

        }

        if (!((StringWord(EventChatMessage(false), 1) == EventChatMessage(true)))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:19082

        }

        if (!((StringWord(EventChatMessage(false), 1) == EventChatMessage(true)))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:19092

    }

    lv_roomname = StringWord(EventChatMessage(false), 2);
    lv_name = StringWord(EventChatMessage(false), 3);
    if ((StringContains(lv_roomname, "Armory", c_stringAnywhere, c_stringNoCase) == true)) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:19093


    lv_roomname = StringWord(EventChatMessage(false), 2);
    lv_name = StringWord(EventChatMessage(false), 3);
    if ((StringContains(lv_roomname, "Armory", c_stringAnywhere, c_stringNoCase) == true)) {
        lv_room = ge_RoomID_RoomArmory;

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:14426


    TriggerExecute(libCamp_gt_DebugPerfTestGetFps, true, false);
    PerfTestStart(StringToText(EventChatMessage(false)));
    return true;
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:1780

        }

        if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
            return false;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:1780

        }

        if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
            return false;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:1790

    }

    lv_experienceGained = StringToInt(StringWord(EventChatMessage(false), 2));
    gf_RewardExperience(lv_experienceGained);
    return true;

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2mapMapScript.galaxy:1780

        }

        if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
            return false;
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2mapMapScript.galaxy:1780

        }

        if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
            return false;
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2mapMapScript.galaxy:1790

    }

    lv_experienceGained = StringToInt(StringWord(EventChatMessage(false), 2));
    gf_RewardExperience(lv_experienceGained);
    return true;

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:22950


    TriggerEnable(TriggerGetCurrent(), false);
    auto64400101_val = StringSub(EventChatMessage(false), 6, 6);
    if (auto64400101_val == "z") {
        libSwaC_gf_ZS_ArmyCustomEvolutionUIEnter("Zergling");

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23536

    }

    lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
    if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
        lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23537


    lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
    if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
        lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
    }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23537


    lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
    if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
        lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
    }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23538

    lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
    if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
        lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
    }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23538

    lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
    if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
        lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
    }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23638


    // Variable Initialization
    lv_name = StringWord(EventChatMessage(false), 2);

    // Conditions

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23678

    // Automatic Variable Declarations
    // Variable Initialization
    lv_time = FixedToInt((StringToFixed(StringWord(EventChatMessage(false), 2)) * 1000.0));

    // Conditions

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23738

    // Automatic Variable Declarations
    // Variable Initialization
    lv_bookmark = StringSub(EventChatMessage(false), 8, StringLength(EventChatMessage(false)));

    // Conditions

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23738

    // Automatic Variable Declarations
    // Variable Initialization
    lv_bookmark = StringSub(EventChatMessage(false), 8, StringLength(EventChatMessage(false)));

    // Conditions

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:8266

    }

    if ((StringWord(EventChatMessage(false), 2) == "on")) {
        lib281DEC45_gf_ZSS_LightSetPrimaryPlay();
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10031

    }

    lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
    if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
        lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10032


    lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
    if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
        lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10032


    lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
    if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
        lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10033

    lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
    if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
        lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10033

    lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
    if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
        lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10133


    // Variable Initialization
    lv_name = StringWord(EventChatMessage(false), 2);

    // Conditions

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10173

    // Automatic Variable Declarations
    // Variable Initialization
    lv_time = FixedToInt((StringToFixed(StringWord(EventChatMessage(false), 2)) * 1000.0));

    // Conditions

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10233

    // Automatic Variable Declarations
    // Variable Initialization
    lv_bookmark = StringSub(EventChatMessage(false), 8, StringLength(EventChatMessage(false)));

    // Conditions

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10233

    // Automatic Variable Declarations
    // Variable Initialization
    lv_bookmark = StringSub(EventChatMessage(false), 8, StringLength(EventChatMessage(false)));

    // Conditions

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:6564

    lv_iter = 1;
    for ( ; ( (autoB629ABE7_ai >= 0 && lv_iter <= autoB629ABE7_ae) || (autoB629ABE7_ai < 0 && lv_iter >= autoB629ABE7_ae) ) ; lv_iter += autoB629ABE7_ai ) {
        if ((StringCase(libVCMI_gv_pM_MissionCheat_Cheats[lv_iter].lv_titleString, false) == StringCase(StringWord(EventChatMessage(false), 1), false))) {
            if ((libVCMI_gv_pM_MissionCheat_Cheats[lv_iter].lv_uIType == libVCMI_ge_MissionCheatUIType_ButtonEditBoxCombo)) {
                DataTableSetString(true, ("PS_" + TriggerGetFunction(libVCMI_gv_pM_MissionCheat_Cheats[lv_iter].lv_trigger)), StringWord(EventChatMessage(false), 2));

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:6566

        if ((StringCase(libVCMI_gv_pM_MissionCheat_Cheats[lv_iter].lv_titleString, false) == StringCase(StringWord(EventChatMessage(false), 1), false))) {
            if ((libVCMI_gv_pM_MissionCheat_Cheats[lv_iter].lv_uIType == libVCMI_ge_MissionCheatUIType_ButtonEditBoxCombo)) {
                DataTableSetString(true, ("PS_" + TriggerGetFunction(libVCMI_gv_pM_MissionCheat_Cheats[lv_iter].lv_trigger)), StringWord(EventChatMessage(false), 2));
            }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:6731

    }

    libVCMI_gf_SetSpearofAdunEnergy(StringToFixed(StringWord(EventChatMessage(false), 2)), libVCMI_ge_SpearofAdunEnergyType_Percent);
    return true;
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:6059

    }

    if ((StringWord(EventChatMessage(false), 3) == "0")) {
        lv_duration = c_transitionDurationImmediate;
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:6065

        lv_duration = c_transitionDurationDefault;
    }
    autoFECC37CE_val = StringWord(EventChatMessage(false), 2);
    if (autoFECC37CE_val == "full") {
        libVCMI_gf_SetScreenModeCampaign(c_uiModeFullscreen, lv_duration);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:6110

    }

    if ((StringWord(EventChatMessage(false), 3) == "0")) {
        lv_duration = c_transitionDurationImmediate;
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:6116

        lv_duration = c_transitionDurationDefault;
    }
    autoFD84E73E_val = StringWord(EventChatMessage(false), 2);
    if (autoFD84E73E_val == "on") {
        libVCMI_gf_CinematicModeCampaign(true, lv_duration, true);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:6141

    // Automatic Variable Declarations
    // Variable Initialization
    lv_iD = StringToInt(StringSub(EventChatMessage(false), 10, 10));

    // Conditions

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:9450

    }

    libVCUI_gv_pUC_HEROUIBARWIDTH = StringToInt(StringWord(EventChatMessage(false), 2));
    return true;
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:9477

    }

    libVCUI_gv_pUC_HEROUILIFEBARHEIGHT = StringToInt(StringWord(EventChatMessage(false), 2));
    libVCUI_gf_PU_UpdateHeroPanel(1);
    libVCUI_gf_PU_UpdateHeroPanel(2);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:9506

    }

    libVCUI_gv_pUC_HEROUISHIELDBARHEIGHT = StringToInt(StringWord(EventChatMessage(false), 2));
    libVCUI_gf_PU_UpdateHeroPanel(1);
    libVCUI_gf_PU_UpdateHeroPanel(2);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:9535

    }

    libVCUI_gv_pUC_HEROUIENERGYBARHEIGHT = StringToInt(StringWord(EventChatMessage(false), 2));
    libVCUI_gf_PU_UpdateHeroPanel(1);
    libVCUI_gf_PU_UpdateHeroPanel(2);

mods/core.sc2modbase.sc2data/TriggerLibs/MeleeAI.galaxy:88

bool DebugMeleeTrigger (bool c, bool a) {
    if (a) {
        DebugMelee(StringToInt(StringWord(EventChatMessage(false), 2)));
    }
    return true;

mods/heroesbrawlmods/arenamodemods/arenamode.stormmodbase.stormdata/LibAREN.galaxy:2571

    // Automatic Variable Declarations
    // Variable Initialization
    lv_submapIndex = StringToInt(StringSub(EventChatMessage(false), 8, 8));
    lv_sectionIndex = StringToInt(StringSub(EventChatMessage(false), 9, 9));
    lv_emitterIndex = StringToInt(StringSub(EventChatMessage(false), 10, 10));

mods/heroesbrawlmods/arenamodemods/arenamode.stormmodbase.stormdata/LibAREN.galaxy:2572

    // Variable Initialization
    lv_submapIndex = StringToInt(StringSub(EventChatMessage(false), 8, 8));
    lv_sectionIndex = StringToInt(StringSub(EventChatMessage(false), 9, 9));
    lv_emitterIndex = StringToInt(StringSub(EventChatMessage(false), 10, 10));
    lv_killingTeam = StringToInt(StringSub(EventChatMessage(false), 12, 12));

mods/heroesbrawlmods/arenamodemods/arenamode.stormmodbase.stormdata/LibAREN.galaxy:2573

    lv_submapIndex = StringToInt(StringSub(EventChatMessage(false), 8, 8));
    lv_sectionIndex = StringToInt(StringSub(EventChatMessage(false), 9, 9));
    lv_emitterIndex = StringToInt(StringSub(EventChatMessage(false), 10, 10));
    lv_killingTeam = StringToInt(StringSub(EventChatMessage(false), 12, 12));
    lv_actorID = "";

mods/heroesbrawlmods/arenamodemods/arenamode.stormmodbase.stormdata/LibAREN.galaxy:2574

    lv_sectionIndex = StringToInt(StringSub(EventChatMessage(false), 9, 9));
    lv_emitterIndex = StringToInt(StringSub(EventChatMessage(false), 10, 10));
    lv_killingTeam = StringToInt(StringSub(EventChatMessage(false), 12, 12));
    lv_actorID = "";

mods/heroesbrawlmods/arenamodemods/arenamode.stormmodbase.stormdata/LibAREN.galaxy:2620

    // Automatic Variable Declarations
    // Variable Initialization
    lv_killingTeam = StringToInt(StringSub(EventChatMessage(false), 11, 11));

    // Conditions

mods/heroesbrawlmods/arenamodemods/arenamode.stormmodbase.stormdata/LibAREN.galaxy:2660


    // Variable Initialization
    lv_submapIndex = StringToInt(StringSub(EventChatMessage(false), 14, 14));

    // Conditions

mods/heroesbrawlmods/arenamodemods/punisherarena.stormmodbase.stormdata/LibAMPU.galaxy:2346

    }

    libAMPU_gf_ARMPunisherGainScore(StringToInt(StringWord(EventChatMessage(false), 2)), StringToInt(StringWord(EventChatMessage(false), 3)), UnitGetPosition(libGame_gv_players[1].lv_heroUnit));
    return true;
}

mods/heroesbrawlmods/arenamodemods/punisherarena.stormmodbase.stormdata/LibAMPU.galaxy:2346

    }

    libAMPU_gf_ARMPunisherGainScore(StringToInt(StringWord(EventChatMessage(false), 2)), StringToInt(StringWord(EventChatMessage(false), 3)), UnitGetPosition(libGame_gv_players[1].lv_heroUnit));
    return true;
}

mods/heroesbrawlmods/arenamodemods/punisherarena.stormmodbase.stormdata/LibAMPU.galaxy:2396

    // Conditions
    if (testConds) {
        if (!(((StringWord(EventChatMessage(false), 2) == "1") || (StringWord(EventChatMessage(false), 2) == "2")))) {
            return false;
        }

mods/heroesbrawlmods/arenamodemods/punisherarena.stormmodbase.stormdata/LibAMPU.galaxy:2396

    // Conditions
    if (testConds) {
        if (!(((StringWord(EventChatMessage(false), 2) == "1") || (StringWord(EventChatMessage(false), 2) == "2")))) {
            return false;
        }

mods/heroesbrawlmods/arenamodemods/punisherarena.stormmodbase.stormdata/LibAMPU.galaxy:2410

    }

    libAMPU_gf_ARMPunisherSetTeamScore(StringToInt(StringWord(EventChatMessage(false), 2)), StringToInt(StringWord(EventChatMessage(false), 3)));
    return true;
}

mods/heroesbrawlmods/arenamodemods/punisherarena.stormmodbase.stormdata/LibAMPU.galaxy:2410

    }

    libAMPU_gf_ARMPunisherSetTeamScore(StringToInt(StringWord(EventChatMessage(false), 2)), StringToInt(StringWord(EventChatMessage(false), 3)));
    return true;
}

mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmodbase.stormdata/LibMDoE.galaxy:3730

    }

    libAtDe_gf_SendEventAttackDefendRoundEnds(StringToInt(StringWord(EventChatMessage(false), 2)));
    return true;
}

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:12591


    TriggerStop(libPEB1_gt_ArchangelSpawn1);
    lv_type = StringToInt(StringWord(EventChatMessage(false), 2));
    auto5796C558_val = lv_type;
    if (auto5796C558_val == 1) {

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:12799


    libPVEM_gv_pvEDefeatDisabled = false;
    if ((StringToInt(StringWord(EventChatMessage(false), 2)) == 0)) {
        libPEB1_gv_defeatReason = libPEB1_ge_DefeatReason_AllHeroesSlain;
    }

mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmodbase.stormdata/LibPVEB.galaxy:3186

    }

    lv_specialItem = (StringWord(EventChatMessage(false), 2));
    lv_itemsToSpawn = StringToInt(StringWord(EventChatMessage(false), 3));
    lv_tempRollover = StringToInt(StringWord(EventChatMessage(false), 4));

mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmodbase.stormdata/LibPVEB.galaxy:3187


    lv_specialItem = (StringWord(EventChatMessage(false), 2));
    lv_itemsToSpawn = StringToInt(StringWord(EventChatMessage(false), 3));
    lv_tempRollover = StringToInt(StringWord(EventChatMessage(false), 4));
    lv_polarOffset = (360.0 / (lv_itemsToSpawn + 1.0));

mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmodbase.stormdata/LibPVEB.galaxy:3188

    lv_specialItem = (StringWord(EventChatMessage(false), 2));
    lv_itemsToSpawn = StringToInt(StringWord(EventChatMessage(false), 3));
    lv_tempRollover = StringToInt(StringWord(EventChatMessage(false), 4));
    lv_polarOffset = (360.0 / (lv_itemsToSpawn + 1.0));
    lv_currentRollover = libPVEB_gv_pvEPickupRolloverRotationStep;

mods/heroesbrawlmods/brawlmapmods/coop/pvebrawluimod.stormmodbase.stormdata/LibPBUI.galaxy:1673

    }

    libPBUI_gf_CurateHSUISelectHeroforPlayer(2, StringToInt(StringWord(EventChatMessage(false), 2)), StringToInt(StringWord(EventChatMessage(false), 3)));
    return true;
}

mods/heroesbrawlmods/brawlmapmods/coop/pvebrawluimod.stormmodbase.stormdata/LibPBUI.galaxy:1673

    }

    libPBUI_gf_CurateHSUISelectHeroforPlayer(2, StringToInt(StringWord(EventChatMessage(false), 2)), StringToInt(StringWord(EventChatMessage(false), 3)));
    return true;
}

mods/heroesbrawlmods/brawlmapmods/coop/pvebrawluimod.stormmodbase.stormdata/LibPBUI.galaxy:1700

    }

    if ((StringWord(EventChatMessage(false), 2) == "1")) {
        libPBUI_gf_CurateHSUILockUnlockHeroChoice(2, true);
    }

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEM.galaxy:3247

    }

    lv_specialItem = (StringWord(EventChatMessage(false), 2));
    lv_itemsToSpawn = StringToInt(StringWord(EventChatMessage(false), 3));
    lv_tempRollover = StringToInt(StringWord(EventChatMessage(false), 4));

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEM.galaxy:3248


    lv_specialItem = (StringWord(EventChatMessage(false), 2));
    lv_itemsToSpawn = StringToInt(StringWord(EventChatMessage(false), 3));
    lv_tempRollover = StringToInt(StringWord(EventChatMessage(false), 4));
    lv_polarOffset = (360.0 / (lv_itemsToSpawn + 1.0));

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEM.galaxy:3249

    lv_specialItem = (StringWord(EventChatMessage(false), 2));
    lv_itemsToSpawn = StringToInt(StringWord(EventChatMessage(false), 3));
    lv_tempRollover = StringToInt(StringWord(EventChatMessage(false), 4));
    lv_polarOffset = (360.0 / (lv_itemsToSpawn + 1.0));
    lv_currentRollover = libPVEM_gv_pvEPickupsRolloverRotationStep;

mods/heroesbrawlmods/brawlmapmods/hanamurapayloadpush.stormmodbase.stormdata/LibMHPP.galaxy:2075

    }

    if ((EventChatMessage(false) == "debug-victory")) {
        libMHPP_gf_MHPPGameOver(libGame_gf_TeamNumberOfPlayer(EventPlayer()));
    }

mods/heroesbrawlmods/brawlmapmods/hanamurapayloadpush.stormmodbase.stormdata/LibMHPP.galaxy:2079

    }

    if ((EventChatMessage(false) == "debug-defeat")) {
        libMHPP_gf_MHPPGameOver(libGame_gf_EnemyTeam(libGame_gf_TeamNumberOfPlayer(EventPlayer())));
    }

mods/heroesbrawlmods/brawlmapmods/hanamurapayloadpush.stormmodbase.stormdata/LibMHPP.galaxy:2138


    TimerStart(libGame_gv_openTheGatesTimer, 0.0, false, c_timeGame);
    if ((StringWord(EventChatMessage(false), 2) == "infinite")) {
        TimerStart(libMHPP_gv_mHPP_DefenseTimeToWinTimer, c_timerDurationInfinite, false, c_timeGame);
    }

mods/heroesbrawlmods/brawlmapmods/hanamurapayloadpush.stormmodbase.stormdata/LibMHPP.galaxy:2142

    }
    else {
        TimerStart(libMHPP_gv_mHPP_DefenseTimeToWinTimer, StringToFixed(StringWord(EventChatMessage(false), 2)), false, c_timeGame);
    }
    return true;

mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmodbase.stormdata/LibLNYF.galaxy:2071

    libCore_gf_DataClearHeroDataAtIndex(EventPlayer());
    libCore_gf_DataClearSkinDataAtIndex(EventPlayer());
    autoA100EE7C_val = StringWord(EventChatMessage(false), 2);
    if (autoA100EE7C_val == "Chen") {
        libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero("Chen"), libCore_gf_DataSkinsGetSkinIndexFromSkinLink("ChenLunar"), libCore_gf_DataMountGetMountIndexFromMountLink("LunarFestivalRocket"), 0.0, EventPlayer(), EventPlayer());

mods/heroesbrawlmods/brawlmapmods/pullparty.stormmodbase.stormdata/LibMMPP.galaxy:197

    TriggerDebugOutput(1, StringExternal("Param/Value/lib_MMPP_64ACD482"), true);
    Wait(1.0, c_timeGame);
    if ((EventChatMessage(false) == "-victory left")) {
        TriggerDebugOutput(1, StringExternal("Param/Value/lib_MMPP_53241965"), true);
        libCore_gf_SendActorMessageToDoodadsInRegion("Signal OrderVictory", RegionEntireMap(), null);

mods/heroesbrawlmods/brawlmapmods/pullparty.stormmodbase.stormdata/LibMMPP.galaxy:263

    }

    if ((EventChatMessage(false) == "-end left")) {
        libMMPP_gf_VictorySequence(libGame_gv_players[EventPlayer()].lv_heroUnit, libGame_gv_players[EventPlayer()].lv_heroUnit, libGame_gv_teamOrderIndex_C);
    }

mods/heroesbrawlmods/heroselectionmods/ingameheroselection.stormmodbase.stormdata/LibIGHS.galaxy:1882

    // Automatic Variable Declarations
    // Variable Initialization
    lv_chatString = EventChatMessage(false);
    lv_heroName = "";

mods/heroesbrawlmods/heroselectionmods/ingameheroselection.stormmodbase.stormdata/LibIGHS.galaxy:2040


    // Variable Initialization
    lv_chatString = EventChatMessage(false);
    lv_roleString = "";
    lv_role = c_heroRoleWarrior;

mods/heroesbrawlmods/heroselectionmods/ingameheroselection.stormmodbase.stormdata/LibIGHS.galaxy:2125


    // Variable Initialization
    lv_chatString = EventChatMessage(false);
    lv_heroName = "";