I've coded a script that is to redirect HLTV proxies to a specified one. If you're running a game server and don't want ppl to waste your slots by connecting 20 HLTV proxies but still allow them to get the demos they want, you set up a single one, connect this one to your server and use my script to redirect all spectators to your HLTV server.
Also players who spectated a specified number of rounds will be redirected to the HLTV server to no longer use the slot other ppl who want to play need.
The thing is: Nothing works and I don't have a clue why. Could anyone please have a look at it and give me a hint?
Thx a lot MGee
€: Did a lot of work on this stuff, so have a look further down...