Raised This Month: $51 Target: $400
 12% 

Auto-Kick.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Daikaz
New Member
Join Date: Feb 2007
Old 02-15-2007 , 13:59   Auto-Kick.
Reply With Quote #1

I'm new to scripting and I'm trying to make a script that will automatically kick repeat offenders from my server. This is what I have so far...

if(equali(authid,"STEAM_0:1:8373174"))
{
client_cmd(id,"disconnect")
}

Will that work? Any suggestions of making it better etc?
Daikaz is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 02-15-2007 , 15:13   Re: Auto-Kick.
Reply With Quote #2

Yeah, it's a magical thing called "ban".
[ --<-@ ] Black Rose is offline
Daikaz
New Member
Join Date: Feb 2007
Old 02-15-2007 , 15:48   Re: Auto-Kick.
Reply With Quote #3

Quote:
Originally Posted by [ --<-@ ] Black Rose View Post
Yeah, it's a magical thing called "ban".
Too bad your post adds nothing but a useless sarcastic comment that I didn't need.
Daikaz is offline
Phantom Warrior
BANNED
Join Date: Feb 2007
Location: hello, gaben
Old 02-15-2007 , 15:59   Re: Auto-Kick.
Reply With Quote #4

Wait what the hell?! That won't work!

PHP Code:
 if(equali(authid,"STEAM_0:1:8373174")) 
What the hell? That will only effect the player with that SteamID.
Phantom Warrior is offline
Daikaz
New Member
Join Date: Feb 2007
Old 02-15-2007 , 16:03   Re: Auto-Kick.
Reply With Quote #5

Quote:
Originally Posted by Phantom Warrior View Post
Wait what the hell?! That won't work!

PHP Code:
 if(equali(authid,"STEAM_0:1:8373174")) 
What the hell? That will only effect the player with that SteamID.
I know. More ID's can be added.

I just wanted to know if that code would work (because it'll help me learn how to make different codes).
Daikaz is offline
Phantom Warrior
BANNED
Join Date: Feb 2007
Location: hello, gaben
Old 02-15-2007 , 16:07   Re: Auto-Kick.
Reply With Quote #6

More ID's you'll have to add millions of ID's.

No that won't work.
Phantom Warrior is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 02-15-2007 , 16:29   Re: Auto-Kick.
Reply With Quote #7

Quote:
Originally Posted by Daikaz View Post
Too bad your post adds nothing but a useless sarcastic comment that I didn't need.
Thank you.
[ --<-@ ] Black Rose is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode