// Update is called once per frame
    void ListenToCommand(string cmdStr)
    {
        Debug.Log("Full Message :" + cmdStr);
        int messageIndex = cmdStr.IndexOf("PRIVMSG #");

        if (messageIndex >= 0)
        {
            if (_onFullCommandeDetected != null)
            {
                _onFullCommandeDetected(cmdStr);
            }
            string playerName = GetPlayerName(cmdStr);
            AddPlayerIfNotExisting(playerName);
            PlayerState player = GetPlayerIfExist(playerName);
            string      cmd    = GetCommandAsked(cmdStr);
            player.AddCommandToTheList(cmd);
            if (_onUserSendMessage != null)
            {
                _onUserSendMessage(playerName, cmd);
            }
        }
    }