[HELP] Range ban
#1

Hey againnn

Now i've scripted my own admin script which works perfectly.
Except theres a flaw with the /banip command.

Using /banip you can range ban - 11.222.*.*
But because of this it also allows admins to /banip *.*.*.*

Now i could just make a rule where you are not allowed to range-ban the ip "*.*.*.*" (since that'll ban everyone)
but even with that said i still want to make sure that no-one can range-ban *.*.*.*.

I've seen it done before so it is possible, i just don't know how.

So basically what i want help with is to know if there is a way to stop people from banning the ip "*.*.*.*".
Can someone help me? :P

Thanks.
Reply
#2

Maybe use strcmp and if that's true, just "return 1;" ?
Reply
#3

Quote:
Originally Posted by ilikepie2221
Maybe use strcmp and if that's true, just "return 1;" ?
True, never thought of that, thanks xD.
Now i have it to auto-ban any admin that breaks this rule

Quote:
Originally Posted by Seif_ [adream-rp.com
]
Or get trustable admins...
Lol
Reply
#4

Or, don't tell your admins they can do that?
Reply
#5

or, Just use if and find *.*.*.* and return a comment saying, Nice try admin fucker.
ban();
It's So easy.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)