defset port 6667
defset nick testbot
+defset ident blight
defset ownfullname "testing bot"
defset ownmailaddr test-irc-bot@example.com
}
proc ensure_connecting {} {
- global sock ownfullname host port nick socketargs
+ global sock ownfullname host port nick ident socketargs
global musthaveping_ms musthaveping_after
ensure_outqueue
fconfigure $sock -buffering line
fconfigure $sock -translation crlf
- sendout USER blight 0 * $ownfullname
+ sendout USER $ident 0 * $ownfullname
sendout NICK $nick
fileevent $sock readable onread