I know this is an old post.. Just wanted to say you have an closed bracket at the end that you don't need
on *:DIALOG:ircop:sclick:49:{ msg nickserv getpass $did(5) } }
Can be just
on *:DIALOG:ircop:sclick:49:{ msg nickserv getpass $did(5) }