dialog PWEnter {
title "Password Entry"
size -1 -1 150 40
option dbu
button "&Ok", 1, 99 28 25 12, ok
box "Enter Password...", 2, 1 1 149 24
edit "", 3, 3 10 145 10, result pass autohs
button "&Cancel", 4, 125 28 25 12, cancel
}
on *:dialog:PWEnter:close:*:{ .timerclosePW off }
alias myidentify {
.timerclosePW 1 10 dialog -c PWEnter
.msg nickserv identify $$dialog(PWEnter,PWEnter)
}
on *:connect:{ myidentify }