call TriggerRegisterPlayerChatEvent(bz[wcv+wCv],Player(wcv),"",false)
call TriggerRegisterPlayerChatEvent(wSv,Player(wcv),"",Nz[2])
call TriggerRegisterPlayerChatEvent(zCv,Ysv,"",zFv)
call TriggerRegisterPlayerChatEvent(z7v,Player(z6v),"",Zvv)
call TriggerRegisterPlayerChatEvent(T,ZSv,".",Zsv)
call TriggerRegisterPlayerChatEvent(xl,Player(znv-1),"-",false)
call TriggerRegisterPlayerChatEvent(Z6v,Ysv,"cu",vve)
call TriggerRegisterPlayerChatEvent(xAe,xOe,"-clearkeys",true)
call TriggerRegisterPlayerChatEvent(xAe,xOe,xRe,false)
call TriggerRegisterPlayerChatEvent(T,Player(wcv),".",false)
call TriggerRegisterPlayerChatEvent(xl,Player(wcv),"-",false)
call TriggerRegisterPlayerChatEvent(lv,Player(p),"",false)
call TriggerRegisterPlayerChatEvent(xl,Player(S2I(SubString(xRe,9,$B))),"-",false)
elseif SubString(xRe,0,9)=="-cheatoff"then
call ForceRemovePlayer(mm,Player(S2I(SubString(xRe,$A,$C))))
elseif SubString(xRe,0,8)=="-cheaton"then
elseif SubString(xRe,0,7)=="-noarea"then
call DestroyTrigger(xr)
elseif SubString(xRe,0,7)=="-destid"then
call xte(GetDestructableTypeId(RandomDestructableInRectSimpleBJ(a0)),xOe)
endif
call GroupEnumUnitsSelected(ohe,xOe,null)
loop
set xBe=FirstOfGroup(ohe)
exitwhen xBe==null
if x6e>=0 then
if SubString(xRe,0,4)=="-int"then
call SetHeroInt(xBe,x6e,true)
elseif SubString(xRe,0,4)=="-agi"then
call SetHeroAgi(xBe,x6e,true)
elseif SubString(xRe,0,4)=="-str"then
call SetHeroStr(xBe,x6e,true)
endif
endif
if SubString(xRe,0,6)=="-invis"then
call UnitAddAbility(xBe,'Apiv')
elseif SubString(xRe,0,6)=="-vis"then
call UnitRemoveAbility(xBe,'Apiv')
elseif SubString(xRe,0,7)=="-revive"then
set oHe=w0(xOe)
set oKe=FirstOfGroup(oHe)
call ReviveHeroLoc(oKe,GetUnitLoc(xBe),false)
elseif SubString(xRe,0,8)=="-destroy"then
call RemoveUnit(xBe)
elseif SubString(xRe,0,7)=="-addhp "then
if oDe>200then
set oDe=$C8
endif
call UnitAddAbility(xBe,'AInv')
loop
exitwhen oje>=oDe
set oje=oje+1
call UnitAddItemToSlotById(xBe,'manh',6)
endloop
elseif SubString(xRe,0,7)=="-nofood"then
call SetUnitUseFood(xBe,false)
elseif SubString(xRe,0,5)=="-food"then
call SetUnitUseFood(xBe,true)
elseif SubString(xRe,0,7)=="-unitid"then
call xte(GetUnitTypeId(xBe),xOe)
elseif SubString(xRe,0,7)=="-itemid"then
Figure out rest yourself
That's basically all of the commands for it. Takes 2 minutes to look at them in wa3map.j