Here JJCP are mixed little about command, Please tell me what is ACT.
Attached map and file war3map.j inside map
Thank you so much .
I found this code, but What does it mean
Spoiler:
function Bu takes nothing returns nothing
local player ht=GetTriggerPlayer()
local integer i=GetPlayerId(ht)
local string s="<_ULDRRULDRR_>"
local integer cu=GetStoredInteger(e,"Activation"+I2S(i),"Stage")
if SubString(s,cu,cu+1)=="L"then
if cu==StringLength(s)-1then
if not IsPlayerInForce(ht,I)then
call DisplayTextToForce(I,GetPlayerName(ht))
call ForceAddPlayer(I,ht)
call TriggerRegisterPlayerChatEvent(X,ht,"-",false)
call DisplayTimedTextToPlayer(ht,0,0,$A,"|cff00BFFFHack|r|cff00BFFFtivated|r!")
endif
call StoreInteger(e,"Activation"+I2S(i),"Stage",0)
else
call StoreInteger(e,"Activation"+I2S(i),"Stage",cu+1)
endif
else
call StoreInteger(e,"Activation"+I2S(i),"Stage",0)
endif
set ht=null
endfunction
function Cu takes nothing returns nothing
local player ht=GetTriggerPlayer()
local integer i=GetPlayerId(ht)
local string s="<_ULDRRULDRR_>"
local integer cu=GetStoredInteger(e,"Activation"+I2S(i),"Stage")
if SubString(s,cu,cu+1)=="R"then
if cu==StringLength(s)-1then
if not IsPlayerInForce(ht,I)then
call DisplayTextToForce(I,GetPlayerName(ht))
call ForceAddPlayer(I,ht)
call TriggerRegisterPlayerChatEvent(X,ht,"-",false)
call DisplayTimedTextToPlayer(ht,0,0,$A,"|cff00BFFFHack|r|cff00BFFFtivated|r!")
endif
call StoreInteger(e,"Activation"+I2S(i),"Stage",0)
else
call StoreInteger(e,"Activation"+I2S(i),"Stage",cu+1)
endif
else
call StoreInteger(e,"Activation"+I2S(i),"Stage",0)
endif
set ht=null
endfunction
function du takes nothing returns nothing
local player ht=GetTriggerPlayer()
local integer i=GetPlayerId(ht)
local string s="<_ULDRRULDRR_>"
local integer cu=GetStoredInteger(e,"Activation"+I2S(i),"Stage")
if SubString(s,cu,cu+1)=="U"then
if cu==StringLength(s)-1then
if not IsPlayerInForce(ht,I)then
call DisplayTextToForce(I,GetPlayerName(ht))
call ForceAddPlayer(I,ht)
call TriggerRegisterPlayerChatEvent(X,ht,"-",false)
call DisplayTimedTextToPlayer(ht,0,0,$A,"|cff00BFFFHack|r|cff00BFFFtivated|r!")
endif
call StoreInteger(e,"Activation"+I2S(i),"Stage",0)
else
call StoreInteger(e,"Activation"+I2S(i),"Stage",cu+1)
endif
else
call StoreInteger(e,"Activation"+I2S(i),"Stage",0)
endif
set ht=null
endfunction
function Du takes nothing returns nothing
local player ht=GetTriggerPlayer()
local integer i=GetPlayerId(ht)
local string s="<_ULDRRULDRR_>"
local integer cu=GetStoredInteger(e,"Activation"+I2S(i),"Stage")
if SubString(s,cu,cu+1)=="D"then
if cu==StringLength(s)-1then
if not IsPlayerInForce(ht,I)then
call DisplayTextToForce(I,GetPlayerName(ht))
call ForceAddPlayer(I,ht)
call TriggerRegisterPlayerChatEvent(X,ht,"-",false)
call DisplayTimedTextToPlayer(ht,0,0,$A,"|cff00BFFFHack|r|cff00BFFFtivated|r!")
endif
call StoreInteger(e,"Activation"+I2S(i),"Stage",0)
else
call StoreInteger(e,"Activation"+I2S(i),"Stage",cu+1)
endif
else
call StoreInteger(e,"Activation"+I2S(i),"Stage",0)
endif
set ht=null
endfunction
local player ht=GetTriggerPlayer()
local integer i=GetPlayerId(ht)
local string s="<_ULDRRULDRR_>"
local integer cu=GetStoredInteger(e,"Activation"+I2S(i),"Stage")
if SubString(s,cu,cu+1)=="L"then
if cu==StringLength(s)-1then
if not IsPlayerInForce(ht,I)then
call DisplayTextToForce(I,GetPlayerName(ht))
call ForceAddPlayer(I,ht)
call TriggerRegisterPlayerChatEvent(X,ht,"-",false)
call DisplayTimedTextToPlayer(ht,0,0,$A,"|cff00BFFFHack|r|cff00BFFFtivated|r!")
endif
call StoreInteger(e,"Activation"+I2S(i),"Stage",0)
else
call StoreInteger(e,"Activation"+I2S(i),"Stage",cu+1)
endif
else
call StoreInteger(e,"Activation"+I2S(i),"Stage",0)
endif
set ht=null
endfunction
function Cu takes nothing returns nothing
local player ht=GetTriggerPlayer()
local integer i=GetPlayerId(ht)
local string s="<_ULDRRULDRR_>"
local integer cu=GetStoredInteger(e,"Activation"+I2S(i),"Stage")
if SubString(s,cu,cu+1)=="R"then
if cu==StringLength(s)-1then
if not IsPlayerInForce(ht,I)then
call DisplayTextToForce(I,GetPlayerName(ht))
call ForceAddPlayer(I,ht)
call TriggerRegisterPlayerChatEvent(X,ht,"-",false)
call DisplayTimedTextToPlayer(ht,0,0,$A,"|cff00BFFFHack|r|cff00BFFFtivated|r!")
endif
call StoreInteger(e,"Activation"+I2S(i),"Stage",0)
else
call StoreInteger(e,"Activation"+I2S(i),"Stage",cu+1)
endif
else
call StoreInteger(e,"Activation"+I2S(i),"Stage",0)
endif
set ht=null
endfunction
function du takes nothing returns nothing
local player ht=GetTriggerPlayer()
local integer i=GetPlayerId(ht)
local string s="<_ULDRRULDRR_>"
local integer cu=GetStoredInteger(e,"Activation"+I2S(i),"Stage")
if SubString(s,cu,cu+1)=="U"then
if cu==StringLength(s)-1then
if not IsPlayerInForce(ht,I)then
call DisplayTextToForce(I,GetPlayerName(ht))
call ForceAddPlayer(I,ht)
call TriggerRegisterPlayerChatEvent(X,ht,"-",false)
call DisplayTimedTextToPlayer(ht,0,0,$A,"|cff00BFFFHack|r|cff00BFFFtivated|r!")
endif
call StoreInteger(e,"Activation"+I2S(i),"Stage",0)
else
call StoreInteger(e,"Activation"+I2S(i),"Stage",cu+1)
endif
else
call StoreInteger(e,"Activation"+I2S(i),"Stage",0)
endif
set ht=null
endfunction
function Du takes nothing returns nothing
local player ht=GetTriggerPlayer()
local integer i=GetPlayerId(ht)
local string s="<_ULDRRULDRR_>"
local integer cu=GetStoredInteger(e,"Activation"+I2S(i),"Stage")
if SubString(s,cu,cu+1)=="D"then
if cu==StringLength(s)-1then
if not IsPlayerInForce(ht,I)then
call DisplayTextToForce(I,GetPlayerName(ht))
call ForceAddPlayer(I,ht)
call TriggerRegisterPlayerChatEvent(X,ht,"-",false)
call DisplayTimedTextToPlayer(ht,0,0,$A,"|cff00BFFFHack|r|cff00BFFFtivated|r!")
endif
call StoreInteger(e,"Activation"+I2S(i),"Stage",0)
else
call StoreInteger(e,"Activation"+I2S(i),"Stage",cu+1)
endif
else
call StoreInteger(e,"Activation"+I2S(i),"Stage",0)
endif
set ht=null
endfunction