Hm, why don't you do
on *:TEXT:!identify:#: identify PASSWORDHERE
on *:TEXT:!identify:#:{ identify $1- }
on *:TEXT:{ !cycle:#: cycle $chan }