Nick Central - Dialog

By #Warizardworks on Aug 30, 2009

Hey guys! This is my very first dialog that actually works! xD It's a very simple dialog and here is what it does. I call it a Nick Central because you can change your nick with it and identify your nick with it as well!

How it works: You go to your basic menu and hit the mIRC Nick Central button. You then have a choice between the buttons "Change Nick To" and "Nick Identifier". If you pick the first button it changes your nick to the nick you suggested. If you haven't identified your nick press the second button, type the password in the box that comes up and it will identify for you!

How to activate it: Place this script in the remote tab and you are good to go!

That's about it. I hope you all enjoy!
~ Wariopower

~ This script was made by Wariopower at #WarizardWorks on irc.purplesurge.com ~

menu channel {
  Nick Central: dialog -dmh wpnc wpnc
}
dialog wpnc {
  title "mIRC Nick Central"
  size -1 -1 115 50
  option dbu
  text "mIRC Nick Central", 1, 36 7 50 12, tab 7 flat
  link "By Wariopower", 2, 40 38 50 12, tab 7 flat
  button "Change Nick To", 3, 6 20 50 12, tab 7 flat
  button "Nick Identifier", 4, 60 20 50 12, tab 7 flat
}
on *:DIALOG:wpnc:sclick:2 {
  var %link http://www.hawkee.com/profile/58981/
  run %link | unset %link
}
on *:DIALOG:wpnc:sclick:3 {
  var %namex = $$?="Choose nick."
  nick %namex | unset %namex
}
on *:DIALOG:wpnc:sclick:4 {
  var %pass = $$?="Input Password."
  ns identify %pass | unset %pass
}

Comments

Sign in to comment.
#Warizardworks   -  Aug 31, 2009

Ah, I see. I didn't know you could do that. Since this was my first dialog I was kind of unsure as to what I could actually do. Thanks! I'll work with less vars in the future.

~ WZW

Edit: The script had a mistake, it was .Nick Changer instead of .Nick Central so I edited it in. =]

 Respond  
Gemster   -  Aug 31, 2009
on *:DIALOG:wpnc:sclick:1 {
  var %namex = $$?="Choose nick."
  nick %namex
}
on *:DIALOG:wpnc:sclick:2 {
  var %pass = $$?="Input Password."
  ns identify %pass
}

can be changed to:

on *:DIALOG:wpnc:sclick:1:{ /nick  $$?="Choose nick." }
on *:DIALOG:wpnc:sclick:2:{ /ns identify $$?="Input Password." }

I dont see the point of useing vars for a simple dialog like this.

Gemster

 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.