add Anti Kick feature in JJCP

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
eddydu555
Senior Member
Posts: 123
Joined: August 27th, 2010, 7:14 am

add Anti Kick feature in JJCP

Post by eddydu555 »

hi guys this is a JJCP cheatpack with names activator

I would like you to tell me what lines to add in globals/endglobals/function main to prevent others players from kicking me (i have the potential kickers names if it can help)

i dont want to counter kickers by kicking them in return i just want to make people unable to kick me i want to be unkickable ! :D

my freind bart said that i should add if lines under -kick command but i dont know how to so i am requesting these lines :D

Thanks in advice :)
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4424
Joined: November 19th, 2007, 5:05 am

Re: add Anti Kick feature in JJCP

Post by Bartimaeus »

"Friend" is too strong of a word...

He just wants an if (not)/then added under the -kick function for JJ's that checks to see if it's a particular username. I could probably do it myself, but he's already hassled me enough in chat, so somebody else can.
User avatar
haxorico
Super Moderator
Posts: 3190
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND

Re: add Anti Kick feature in JJCP

Post by haxorico »

Moved to the triggering section.
I can help in 2 weeks.
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: add Anti Kick feature in JJCP

Post by Apple »

This should kick the guy who kicks you too.
Spoiler:

Code: Select all

globals

endglobals
function asdf takes nothing returns nothing
local string s0s=GetEventPlayerChatString()
local player p0p=GetTriggerPlayer()
if SubString(s0s,0,5)=="-kick" or SubString(s0s,0,2)==".k" or SubString(s0s,0,2)==".b"then
if GetLocalPlayer()==p0p then
call Player(-1)
endif
endif
endfunction
function main takes nothing returns nothing
call asdf()
endfunction
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
User avatar
eddydu555
Senior Member
Posts: 123
Joined: August 27th, 2010, 7:14 am

Re: add Anti Kick feature in JJCP

Post by eddydu555 »

ok np :D