27.05.2009, 21:30
This is gonna be pretty CPU intensive? Comparing 600 the name 600 times one after another.. I'ma run some tests..
EDIT: Also why the hell do you redefine them every time? That's a hell of a lot of declaring! My bad :P didn't see a bracket
Ok on further inspection.. How many times do you get the player name!?!!?!?!?!?!?!111//!?1?!? Wasn't once enough?
I can see many many places where you could have used fewer lines, and alot of the time less memory/cpu. You declare alot of strings and don't recycle them, and in places there's no indentation.
And what's KickPlayer? You use it in 2 places.
You define it, and then set it to 0 if they don't get kicked.. It's not used anywhere else, so what does it do?
EDIT: Also why the hell do you redefine them every time? That's a hell of a lot of declaring! My bad :P didn't see a bracket
Ok on further inspection.. How many times do you get the player name!?!!?!?!?!?!?!111//!?1?!? Wasn't once enough?
I can see many many places where you could have used fewer lines, and alot of the time less memory/cpu. You declare alot of strings and don't recycle them, and in places there's no indentation.
And what's KickPlayer? You use it in 2 places.
You define it, and then set it to 0 if they don't get kicked.. It's not used anywhere else, so what does it do?

