OK did that, still waiting for the actual situation to reoccur.
In the meantime I also added this, going on the example above:
on *:NOTICE:This nickname is registered.*:?:{
(if $nick == NickServ)
ns identify xxxxx
}
It seems to work, but an error appears in the status channel. It says:
Is there a syntax error?