//=========================================================================== function InitTrig_ChangeName takes nothing returns nothing local trigger t = CreateTrigger( ) local integer i = 0 loop call TriggerRegisterPlayerChatEvent( t, Player(i), "-name", false ) set i = i + 1 exitwhen i == 11 endloop call TriggerAddAction(t, function Trig_ChangeName_Actions ) endfunction