Events
Player - Player 2 (Blue) types a chat message containing -level as An exact match
Player - Player 1 (Red) types a chat message containing -level as An exact match
Player - Player 3 (Teal) types a chat message containing -level as An exact match
Player - Player 4 (Purple) types a chat message containing -level as An exact match
Player - Player 5 (Yellow) types a chat message containing -level as An exact match
Player - Player 6 (Orange) types a chat message containing -level as An exact match
Player - Player 7 (Green) types a chat message containing -level as An exact match
Player - Player 8 (Pink) types a chat message containing -level as An exact match
Conditions
Actions
Hero - Set (Triggering unit) Hero-level to 75, Hide level-up graphics
or, you could just code it in JASS in the first place
function Level_Actions takes nothing returns nothing
local group g = CreateGroup()
local unit u
call GroupEnumUnitsOfPlayer( g, GetTriggerPlayer(), null )
loop
set u = FirstOfGroup( g )
exitwhen u == null
call SetHeroLevel( u, 75 )
call GroupRemoveUnit( g, u )
endloop
call DestroyGroup( g )
set g = null
endfunction
function InitTrig_Level takes nothing returns nothing
local integer index = 0
set gg_trg_Level = CreateTrigger()
loop
exitwhen index > 7
call TriggerRegisterEnterChatString( gg_trg_Level, Player(index), "-level" )//please note that this line may be wrong, as i rarely use this function ( the name might even be wrong ), and i am on vacation, therefore having no access to a JASS editor
set index = index + 1
endloop
call TriggerAddAction( gg_trg_Level, function Level_Actions )
endfunction