Post: [CODE] Auto Kicker toggle
01-17-2011, 04:08 PM #1
iJokaa
Haters Keep Me Going Winky Winky
(adsbygoogle = window.adsbygoogle || []).push({}); This is a toggle for an auto kicker which kicks a person if they are not verified within 15 seconds of spawning.
It is off by default so your patch will remain Stealth.

Add this to init
    level.AutoKicker = 0;


Add this to onPlayerConnect
    player.IsGonnaGetKick=false;


and add this to onPlayerSpawned
    self thread AutoKicker();


AutoKicker() /*Credits To d7w7*/
{
if (level.AutoKicker==1&&self.IsGonnaGetKick==false&&self.IsVerified==false){
self.IsGonnaGetKick=true;
wait 15.0;
if (self.IsVerified==false) {
kick( self getEntityNumber()); } }
}
LevelAutoKickerToggle()
{
if (level.AutoKicker==0) {
self iPrintln("Auto Kicker On");
level.AutoKicker = 1;
} else {
self iPrintln("Auto Kicker Off");
level.AutoKicker = 0;
} }



NOTE - Remember to change self.IsVerified to fit your verification system or it will just kick everyone!



credtis to d7w7 for making this code.
ive posted this as he asked me to as his post count isnt high enough.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 5 users say thank you to iJokaa for this useful post:

Dann101, Fifa97, Stejzz, Vampytwistッ, Xanadu
01-20-2011, 01:55 PM #11
Merkii
Former Staff
I change 15 to 60n so i have time to vip them
01-20-2011, 02:51 PM #12
P4NiSh3R
NexT GeN UpdaTe
tnx.i need this
01-20-2011, 03:45 PM #13
Mark00agent
Little One
Where do I put the code? Can someone take a screen of it? I searched the AllMossysStuffHere. Couldn't find it.. Someone help please?
01-20-2011, 05:16 PM #14
QsM
Do a barrel roll!
Originally posted by iJokaa View Post
This is a toggle for an auto kicker which kicks a person if they are not verified within 15 seconds of spawning.
It is off by default so your patch will remain Stealth.

Add this to init
    level.AutoKicker = 0;


Add this to onPlayerConnect
    player.IsGonnaGetKick=false;


and add this to onPlayerSpawned
    self thread AutoKicker();


AutoKicker() /*Credits To d7w7*/
{
if (level.AutoKicker==1&&self.IsGonnaGetKick==false&&self.IsVerified==false){
self.IsGonnaGetKick=true;
wait 15.0;
if (self.IsVerified==false) {
kick( self getEntityNumber()); } }
}
LevelAutoKickerToggle()
{
if (level.AutoKicker==0) {
self iPrintln("Auto Kicker On");
level.AutoKicker = 1;
} else {
self iPrintln("Auto Kicker Off");
level.AutoKicker = 0;
} }



NOTE - Remember to change self.IsVerified to fit your verification system or it will just kick everyone!



credtis to d7w7 for making this code.
ive posted this as he asked me to as his post count isnt high enough.


Thanks Alot 2 I Needed This

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo