Insert in Remote :)
aliases startup { dialog -m startup startup }
dialog startup {
title "Nick identify"
size -1 -1 300 55
text "Pass", 1, 20 20 80 15
edit %sifra, 2, 50 17 120 20
box "", 3, 5 5 290 40
button "Identify", 4, 190 17 80 20, ok
box "", 5, 188 10 84 27
}
on *:DIALOG:startup:edit:2: {
Set %sifra $did(2)
}
on *:DIALOG:startup:sclick:4:{ /ns identify %sifra }
on *:notice:*This nickname is registered and protected*:?: { dialog -m startup startup }
alias startup { dialog -m startup startup }
dialog startup {
title "Nick identify"
size -1 -1 300 55
text "Pass", 1, 20 20 80 15
edit %sifra, 2, 50 17 120 20
box "", 3, 5 5 290 40
button "Identify", 4, 190 17 80 20, ok
box "", 5, 188 10 84 27
}
on :DIALOG:startup:edit:2: {
Set %sifra $did(2)
}
on :DIALOG:startup:sclick:4:{ /ns identify %sifra }
on :notice:This nickname is registered and protected*:?: {
if ( %sifra == $null ) {
/startup
}
ELSE {
if ( $nick == nickserv) { msg nickserv identify %sifra }
}
}