0
有誰知道如何在PircBots中使用它? http://www.jibble.org/javadocs/pircbot/index.html 我只需要獲取用戶主機名並禁用它們。謝謝閱讀!PircBot如何獲得主機名
if (cmd.equalsIgnoreCase("ban")) {
if (command[1] != null && command[2] != null) {
//Command[1] is the users name.
//Command[2] is the reason.
//how do i make this ban someone?
}
}
我讀過,我只是不知道如何解析主機名。 @JimGarrison –