Hello, I need some help with Java. I am beginner with this language and want to try a simple ts3bot.
My problem is, that I dont know how to get the clid of a client.
I tried it with
Code:
api.getClients();
		String ausgabe = String.valueOf(api.getClients());
		if(ausgabe.contains("Paola")){
			api.pokeClient(Here I want the clid of the client Paola, "hi");
but I dont know how to get only the clid of this specific user and use it.
Another problem is that I dont know how to get a input name like:
Code:
@Override
			public void onTextMessage(TextMessageEvent e) {
				// TODO Auto-generated method stub
				if(e.getTargetMode()==TextMessageTargetMode.CLIENT){
					if(e.getMessage().equalsIgnoreCase("hilfe" here I want to get a clientname and use it for other stuff like pokes)){

					}
Sorry for my bad english^^