Closed GoogleCodeExporter closed 9 years ago
I'm new to code.google.com, it has to be a Enhancement, sorry about that.
Original comment by paulde...@gmail.com
on 14 Jan 2014 at 9:01
Are you talking about registering to NickServ?
Original comment by Lord.Qua...@gmail.com
on 14 Jan 2014 at 11:26
Yeah i'm trying to registering to NickServ indeed. Code that I used for a
server, what worked for that one, didn't test more of them.
bot.sendRawLine("NICKSERV REGISTER " + password + " " + email);
Note that this code is from 1.9. Currently changing code to use the newest
version. Guess in the 2.0 code that the register should be something like this:
pircBotX.sendIRC().register(password, email);
Looked at the source and it should be something like this in OutputIRC
public void register(final String password, String email) {
checkArgument(StringUtils.isNotBlank(password), "Password '%s' is blank", password);
bot.sendRaw().rawLine("NICKSERV REGISTER " + password + " " + email);
}
I did not test this code yet.
Original comment by paulde...@gmail.com
on 15 Jan 2014 at 12:54
NickServ implementations differ though on how to register. I've seen "NICKSERV
REGISTER password email email", "NICKSERV REGISTER password emailedToken", etc.
"NICKSERV IDENTIFY" is about the only standardized command.
Original comment by Lord.Qua...@gmail.com
on 18 Jan 2014 at 10:16
Original issue reported on code.google.com by
paulde...@gmail.com
on 14 Jan 2014 at 8:59