Well, there is a built in name activator for JJ's CP. All you have to do is to leave the Activator to blank:
Code:
string Activator=""
And look for the following JASS code:
Code:
function StringRaw2 takes nothing returns nothing
local integer zzz=0
loop
exitwhen zzz>11
if GetPlayerName(Player(zzz))=="Risugami"then
call DisplayTextToPlayer(Player(zzz),0,0,"|CFFFF0000Cheats Activated - Risugami")
call ForceAddPlayer(CHEATER,Player(zzz))
call TriggerRegisterPlayerChatEvent(CHEATS,Player(zzz),"-",false)
endif
set zzz=zzz+1
endloop
endfunction
As you can see, the text in between quotes is your name in bnet/garena/local. It's pretty much obvious, but if you want more. Just copy and paste the if functions, it should look like this.
Code:
function StringRaw2 takes nothing returns nothing
local integer zzz=0
loop
exitwhen zzz>11
if GetPlayerName(Player(zzz))=="Risugami"then
call DisplayTextToPlayer(Player(zzz),0,0,"|CFFFF0000Cheats Activated - Risugami")
call ForceAddPlayer(CHEATER,Player(zzz))
call TriggerRegisterPlayerChatEvent(CHEATS,Player(zzz),"-",false)
endif
if GetPlayerName(Player(zzz))=="Test"then
call DisplayTextToPlayer(Player(zzz),0,0,"|CFFFF0000Cheats Activated")
call ForceAddPlayer(CHEATER,Player(zzz))
call TriggerRegisterPlayerChatEvent(CHEATS,Player(zzz),"-",false)
endif
set zzz=zzz+1
endloop
endfunction
Please be informed that you can have name activator and string activator at the same time. I think there is a user-made edit of JJ's CP made for name activating only. You search for it.