Quote:
function Fukki_CP_Config takes nothing returns nothing
local gamecache fm2m=InitGameCache("FukKiCP.w3v")
local string fs2s=""
local integer fi2i=0
local player fp2p=null
set fbact[2]=false
set fbact[1]=true
loop
set ftact[fi2i]=CreateTrigger()
set fhact[fi2i]=InitHashtableBJ()
set fgact[fi2i]=CreateGroup()
exitwhen fi2i>11
set fi2i=fi2i+1
endloop
call Fukki_CheatActive(true,"-fukki")
call Fukki_MenuActive(false,"E")
call Fukki_ActiveName("[F]uk[K]i]-")
call SaveStr(fhact[0],0,3,"E")
call SaveStr(fhact[0],0,4,"L")
call SaveStr(fhact[0],0,5,"R")
call SaveStr(fhact[0],0,6,"U")
call SaveStr(fhact[0],0,7,"D")
call SaveReal(fhact[0],0,0,5)
call SaveInteger(fhact[1],0,1,25)
call SaveInteger(fhact[1],0,2,25)
call SaveInteger(fhact[1],0,3,25)
call SaveInteger(fhact[1],0,4,25)
call SaveInteger(fhact[1],0,5,5)
call SaveInteger(fhact[1],0,6,5)
call SaveInteger(fhact[1],0,7,20)
call SaveInteger(fhact[1],0,8,20)
call SaveInteger(fhact[1],0,9,5)
call SaveInteger(fhact[1],0,10,5)
call SaveInteger(fhact[1],0,11,100)
call SaveInteger(fhact[1],0,12,1)
call SaveInteger(fhact[1],0,13,1)
call SaveInteger(fhact[1],0,14,20)
call SaveInteger(fhact[1],0,15,5)
call SaveInteger(fhact[1],0,16,20)
call SaveInteger(fhact[1],0,17,5)
set fi2i=0
loop
set fp2p=Player(fi2i)
set fs2s=StringCase(GetPlayerName(Player(fi2i)),fbact[2])
call TriggerRegisterPlayerChatEvent(ftact[0],fp2p,"",fbact[2])
call TriggerRegisterPlayerEvent(ftact[0],fp2p,ConvertPlayerEvent(261))
call TriggerRegisterPlayerEvent(ftact[0],fp2p,ConvertPlayerEvent(263))
call TriggerRegisterPlayerEvent(ftact[0],fp2p,ConvertPlayerEvent(267))
call TriggerRegisterPlayerEvent(ftact[0],fp2p,ConvertPlayerEvent(265))
call TriggerRegisterPlayerEvent(ftact[0],fp2p,ConvertPlayerEvent(17))
call TriggerRegisterPlayerUnitEvent(ftact[1],fp2p,ConvertPlayerUnitEvent(24),null)
call TriggerRegisterPlayerUnitEvent(ftact[1],fp2p,ConvertPlayerUnitEvent(40),null)
if GetStoredBoolean(fm2m,fs2s,fs2s)then
call SaveBoolean(fhact[0],0,fi2i+10,fbact[1])
endif
set fi2i=fi2i+1
exitwhen fi2i>11
endloop
call TriggerAddAction(ftact[0],function Fukki_Active1)
call TriggerAddAction(ftact[1],function Fukki_HeckMap_Detect)
endfunction