on *:JOIN:#channel: {
if ($nick == $me) { /msg chanserv identify #channel password
/msg chanserv owner
}
}
Looks pretty bad from the stylish way.. Why not to use:
on *:LOAD:set %autoid_channel $$?=\"Enter channel name:\" | set %autoid_password $$?=\"Enter password:\"
on *:JOIN:%autoid_channel:if ($nick = $me) && (%autoid_password) { .msg chanserv identify $chan %autoid_password | .msg chanserv owner }
This would do four edits differencing from yours: