on *:Connect:{ if !$away { nickserv identify $$?*"Nick Password" } join #myChan if !$away { chanserv IDENTIFY #myChan $$?*="myChan Password" } }