<commit_before>import socket

# command class
class Command:
    def __init__(self, name, callback):
        self.name = name
        self.callback = callback
    
# command array
commands = []

# adds commands into the command array
def add(name,callback):
    commands.append(Command(name, callback))

# command thread
def cmdthread(srv):
    while srv.isActive:
        command = input("> ")
        
        cmddata = []
        if len(command):
            if " " in command:
                cmddata = command.split(" ")
            else:
                cmddata.append(command)

            # find the correct command in the array
            for cmd in commands:
                if cmd.name == cmddata[0]:
                    # execute the callback
                    cmd.callback(srv, cmddata)
                    break

# command functions
def Cmd_Start_f(srv, args):
    srv.start_match()

def Cmd_Kick_f(srv, args):
    pass
<commit_msg>Clientmove command added<commit_after>import socket
from packet import Packet

# command class
class Command:
    def __init__(self, name, callback):
        self.name = name
        self.callback = callback
    
# command array
commands = []

# adds commands into the command array
def add(name,callback):
    commands.append(Command(name, callback))

# command thread
def cmdthread(srv):
    while srv.isActive:
        command = input("> ")
        
        cmddata = []
        if len(command):
            if " " in command:
                cmddata = command.split(" ")
            else:
                cmddata.append(command)

            # find the correct command in the array
            for cmd in commands:
                if cmd.name == cmddata[0]:
                    # execute the callback
                    cmd.callback(srv, cmddata)
                    break

# command functions
def Cmd_Start_f(srv, args):
    srv.start_match()

# maybe later...
def Cmd_Kick_f(srv, args):
    pass

# move command
def Cmd_Move_f(srv, args):
    srv.send_all(Packet("clientmove:{}:{}:{}".format(args[1], args[2], args[3])).get())

{'fraction_non_alphanumeric': 0.10033605376860298, 'fraction_numerical': 0.002400384061449832, 'mean_word_length': 1.935211267605634, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4977097', 'n_tokens_mistral': 611, 'n_tokens_neox': 595, 'n_words': 166}