Forum
CS2D Servers how to ban someone only in my serverhow to ban someone only in my server
10 replies 1
banname
banusgn
Use these commands to ban people from your server.
Script with:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
owner = {114940} addhook("say","s") function s(id,message) 	for _,usgn in ipairs(owner) do 		if player(id,"usgn")==usgn then if string.sub(message,1,9) == "!banname " then parse("banname "..string.sub(message,9,string.len(message)))) elseif string.sub(message,1,9) == "!banusgn " then parse("banusgn "..(string.sub(message,10,string.len(message)))) elseif string.sub(message,1,7) == "!banip " then parse("banip "..(string.sub(message,8,string.len(message)))) 		end 	end end
!banip <id> (ban player by ip)
!banusgn <id> (ban player by usgn)
!banname <id> (ban player by name)
also you can do do,
!banname player
and it will work.
edited 1×, last 08.07.14 03:32:57 pm
The title goes: "How to ban someone only in my server."
Is it possible to ban someone from other servers.. From ur server.
Well, technically it is kind of possible with current CS2D but I wouldn't say it's a clean, easy way to do it.
I think you're missing the point here.
Title: "how to ban someone only in my server".
It sounds like he can only ban people in other servers but not in his own. Or if he bans someone in his server then players gets banned everywhere. That's what he wanted to point out.
Rainoth has written
@ Infinite Rain: Don't play with words.
I do not play with them.
Rainoth has written
It's obvious that he couldn't phrase what he needed properly. My first reply was more than enough (you can see it by how he replied after that). The rest is meant for Crabby
Did I deny any of those facts?
Infinite Rain has written
That's what he wanted to point out.
By "he" in my message I meant Crabby, sorry if that wasn't clear enough.
1