fixed a bug with array splicing

also made the 'main' test part of the program more accessible via 3
required command lines [server ip] [port] and [rconpassword] :)
bugfix with std.string.split and std.regex.split