if ($nick ison #tug) Should that be there?
lrn2ident <-- is that a custom alias or "Learn to identify"?