mIRC Sign In

By `Green on Dec 31, 2008

this is probably going to b my last snippet for a little while. it is just a sign in snippet that will open a dialog that will ask you to sign in on connect. and yeah this is pretty pointless compared to a AUTO-ID but it still works and is efficient.

dialog SI {
  title "Sign In"
  size -1 -1 83 53
  option dbu
  edit "", 1, 2 2 79 10, center read autohs 
  edit "", 2, 2 16 79 10, pass center autohs 
  button "Login", 3, 23 28 37 10
  button "Close IRC", 4, 23 41 37 10
}
on *:dialog:si:*:*:{ 
  if ($devent == init) { did -ra si 1 $me }
  if ($devent == sclick) {
    if ($did == 3) { 
      ns identify $did(2)
      dialog -x si si
    }
    if ($did == 4) { exit -n }
  } 
}
on *:connect:{
  dialog -m si si
}
menu * {
  .Sign In: dialog -m si si
}

Comments

Sign in to comment.
DeathGod87   -  Dec 31, 2008

Cool >.>Was lookin for one of these. Cool script and thax

 Respond  
`Green   -  Dec 31, 2008

ok PunkTuReD i will do that.

 Respond  
PuNkTuReD   -  Dec 31, 2008

nice little snippet ,
maybe add autohs
on your edit fields in your dialog

 Respond  
Aucun50   -  Dec 31, 2008

Works fine.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.