isaac
isaac copied to clipboard
recover / release nickname
Hello,
It's my new account with github, I'm not sure if it's appropriate to post issues... The things is I'm trying to get my bot to recover/release nickname in case it was intentionally taken by someone else. Here's snippet of my codes, and it seem to hang then terminated itself.
on :error, 433 do
open("errors.log", "a") do |log|
log.puts curtime + " #{nick}: Nickname is already in use"
end
puts "#{nick}: Nickname is already in use"
raw "PRIVMSG nickserv :recover username password"
raw "PRIVMSG nickserv :release username password"
raw "PRIVMSG nickserv :identify password"
end
Many thanks in advance and I couldn't have done this if it wasn't for isaac.