Top

Whois dialog


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  6.6
Scores Submitted  11
Date Added  Jan 18, 2006
Last Updated  Mar 21, 2008
Tags  dialog  information  whois 
  Bookmark and Share

Introduction

Start by right clicking on any menu and selecting Who2
If no nicks have been selected, then you'll be asked to enter the nick(s). Multiple nicks separated by commas or spaces will work.
If a single nick is entered, either manually or by selection from the nicklist, that person is whois'd automatically.
If more than one nick is entered/selected, then the nicks will be in a drop down box, where the nick can be selected. When a nick is selected in the dialog, that nick is whois'd. Channels appear in a list, one per line, with the total number of channels that person is on being displayed. Selecting a channel in that list will show that person's idle time for that channel, presuming it is a common channel, or N/A will be displayed (Not Available).
Double clicking a channel in that list will join you to the channel.
Thanks to ryu.dragonryder who got me started on this in the first place.
Switches to WhoWas version automatically if necessary.
When multiple nicks are entered/selected, the first nick is whois'd automatically. A slight layout change, but one that I think looks better. Any suggestions for changes/additions will be considered on a first come, first serve basis (also subject to my scripting knowledge)
Hope everyone likes the new layout and options.
Code can now be used directly from the command line:/who2 <nick(s)>
<nick(s)> can be separated by commas and/or spaces.
Channels list is now a checkbox list, with common channels pre-checked rather than 2 lists.
Please note that the Clone detection routine is not the most accurate, especially if vhosts are being used.
Title variable changed to try to eliminate multiple scripts using the same variable. Also added buttons for quick access to IRCops commands of Kill, K-Line, G-Line, Z-Line, GZ-Line and Shun.
NOTE: These commands are based on the format used by UnrealIRCd.


Grab the Code

Comments

  (31)  RSS
noMen
Comments: 56
 
mIRC Snippet:  Whois dialog
Posted on Jan 18, 2006 4:27 am
The idea is good, but some things don\'t work properly (for me). The combobox should have some space to drop down. You specified \"combo 2, 30 5 100 10, drop\". Maybe \"combo 2, 30 5 100 100, drop\" is better. If I enter a nickname that doesn\'t exist, the text \"Not online\" is written over the combobox. I get the errormessage \"Serveroption for this command is not supported\" on \".whois $1 $1\". Why is $1 specified twice? According to the helpfile only one is enough. Why is the EXIT button disabled after entering more than one nickname?
anthalus
Comments: 70
 
mIRC Snippet:  Whois dialog
Posted on Jan 18, 2006 11:39 am
Really nice code.

Just curious, have you ever tried using MTS themes? They give you the same freedom for this code as a dialog, but they are much easier to work with.
RoninWarrior
Comments: 252
 
mIRC Snippet:  Whois dialog
Posted on Jan 18, 2006 4:55 pm
dialog aligment please!
RoninWarrior
Comments: 252
 
mIRC Snippet:  Whois dialog
Posted on Jan 18, 2006 4:58 pm
i couldnt get it to show any of my modes but that could be my script also but for the rest of the info if it doesnt show then everything looks to be way out of aligment and messy maybe a box for the baisc info and another box for the extra info modes ip ircop etc etc .not to bad though
Yoinx
Comments: 424
 
mIRC Snippet:  Whois dialog
Posted on Jan 18, 2006 6:43 pm
ronninwarrior, I must AGAIN point out that you\'re the only one complaining about dialog alignment. The only thing out of any alignment is the channels editbox, which you can tell he put low like that on purpose.

You should really stop commenting on people\'s dialog alignments since you\'re the only one that HAS a dialog misalignment.
RusselB
Comments: 98
 
mIRC Snippet:  Whois dialog
Posted on Jan 18, 2006 6:47 pm
@noMen: Thanks for your notes. The reason for the double $1 in the .whois is due to the fact that the person\'s idle time wasn\'t being returned when I used just the single $1. I thought I read in the help file about using /whois <nick> <nick> to get the information from the server that they were connected to, rather than the network.

The EXIT button is automatically disabled until the .whois information for the specific person has been recalled.

@anthalus: No, I haven\'t. This is the first time I\'ve heard of them, but I\'m willing to check them out.

@RoninWarrior: This is twice (that I can recall) that you\'ve mentioned about dialog alignment in regards to a dialog script/snippet that I\'ve done, yet I don\'t know what you mean. I need details about what it is you feel needs to be aligned and how it should be aligned.

I tested the dialog out on my own system at various display levels and it looked good to me at all levels.
nobody
Comments: 36
 
mIRC Snippet:  Whois dialog
Posted on Jan 18, 2006 8:51 pm
I don\'t see any problem with the dialog aligment.
RoninWarrior
Comments: 252
 
mIRC Snippet:  Whois dialog
Posted on Jan 19, 2006 2:55 pm
i apologize RussleB for not being more specific i wasnt trying to be rude in any way or knocking your work code or anything and yonix mind your own buisness because everyone has there own opionin on diffrent things i was was just stateing a fact or an issue i had with it not that it was wroung in any way shape or form . now that this has been clear up ill wont be commenting on anything anymore since this and everyone is takeing everything and allowing this to go out of control this place is just like ms.org now and it is sad fiberoptics was deffintly correct on his past statments.
RoninWarrior
Comments: 252
 
mIRC Snippet:  Whois dialog
Posted on Jan 19, 2006 3:21 pm
sorry again to everyone this may concern. @yonix dont worry i contacted
Hawkee and hopefully in due time my account and stuff will be gone and i wont be in yur way or hair.
Yoinx
Comments: 424
 
mIRC Snippet:  Whois dialog
Posted on Jan 19, 2006 5:00 pm
Wow, You\'re throwing a fit becuase I pointed out that you keep criticizing people\'s dialog alignments, when nobody else sees the same thing. AND I\'ve pointed that out to you a few times. OBVIOUSLY its something that\'s only happening on your system.

Childish.
RoninWarrior
Comments: 252
 
mIRC Snippet:  Whois dialog
Posted on Jan 19, 2006 5:49 pm
i wont comment or post anything back here anymore to ruin RussleB work you have done a good job so far though.



keep up the good work RussleB
tank59
Comments: 69
 
mIRC Snippet:  Whois dialog
Posted on Jan 19, 2006 6:06 pm
dot dot dot.
XpLoiTeR
Comments: 75
 
mIRC Snippet:  Whois dialog
Posted on Jan 19, 2006 6:24 pm
lol tank
anthalus
Comments: 70
 
mIRC Snippet:  Whois dialog
Posted on Jan 20, 2006 11:09 am
Biggeorgiafan14
Comments: 8
 
mIRC Snippet:  Whois dialog
Posted on Feb 19, 2006 4:51 pm
Amazing, works great.
celticsoldier
Comments: 11
 
mIRC Snippet:  Whois dialog
Posted on Mar 22, 2006 2:08 am
Nice script. Works fine for me :)
RusselB
Comments: 98
 
mIRC Snippet:  Whois dialog
Posted on Mar 11, 2007 3:22 am
NOTICE: Effective with the release of mIRC 6.21, this script has difficulties. I am working on trying to figure out why and how these came about, as well as how to fix them. For the most part everything is still OK, just that some of the information isn\'t displayed correctly.

I know it\'s been a while since 6.21 was released, but I only noticed the problems within the past week.
RusselB
Comments: 98
 
mIRC Snippet:  Whois dialog
Posted on Mar 18, 2007 9:15 am
Problems with 6.21 resolved.
RusselB
Comments: 98
 
mIRC Snippet:  Whois dialog
Posted on Apr 19, 2007 9:06 pm
A few additional command options have been added for those that have IRCops status on their network(s) to make these relatively common commands easier. If you don\'t have IRCops status on the network, then these options won\'t even show. If you do have them, then you\'ll recognize the commands that were added.
ZabuzaMomochi
Comments: 186
 
mIRC Snippet:  Whois dialog
Posted on Apr 30, 2007 10:56 pm
What you could do also is have an option set to whether the nick wants to know what the person their whoisings time is. so it will do the time ctcp, just a suggestion
hixxy
Comments: 28
 
mIRC Snippet:  Whois dialog
Posted on Sep 12, 2007 7:13 am
Seeing as RoninWarrior didn\'t say what was wrong with your alignment, I\'ll have a go:

- You have a list of editboxes going down the dialog, but they\'re all different sizes, which means that they\'re not aligned on the right hand side. Make them all the same width, so that they start at the same point on the left and end at the same point on the right. Even if you don\'t need all of that space for the boxes, it\'s space that is otherwise going unused, so there\'s no problem with using up a bit more space to make the dialog look that little bit neater.

- Your \"Exit\" button is not in line with the combo box next to it. It\'s 1 or 2 pixels up from it.

- Your \"Common Channels\" box could line up with the bottom of the \"Away\" box and the top of the \"Idle\" box, and if you add a little bit of whitespace you could also make the \"Name\" box line up with your \"Clones\" box at the top.

- The \"Registered\" text is not in line with the rest of the text down the left hand side of your dialog.

- Your six radio buttons are just kinda thrown in the middle of nowhere and not aligned with any of the controls around it, and nothing states what they do.

I\'m going to try and reposition everything in your dialog to show you how I think it should look, I\'ll post it later.
hixxy
Comments: 28
 
mIRC Snippet:  Whois dialog
Posted on Sep 12, 2007 7:55 am
dialog Whois {
title \"Dialog\"
size -1 -1 296 206
option dbu
text \"Nick:\", 1, 4 6 12 8
combo 2, 30 5 157 10, drop
text \"Address:\", 3, 4 18 21 8
edit \"\", 4, 30 17 157 10
text \"Name:\", 5, 4 62 16 8
edit \"\", 6, 30 61 157 10
text \"Modes:\", 7, 4 74 19 8
edit \"\", 8, 30 73 157 10
text \"IP:\", 9, 4 86 8 8
edit \"\", 10, 30 85 157 10
text \"Away:\", 15, 4 133 15 8
edit \"\", 16, 30 132 157 21, multi
edit \"\", 17, 30 155 157 10
text \"Registered\", 11, 4 184 30 8
text \"Server:\", 12, 4 121 19 8
edit \"\", 18, 30 120 157 10
text \"\", 19, 4 195 94 8
text \"Help\", 20, 37 184 30 8, center
text \"Secure\", 21, 69 184 30 8, center
text \"Sign In:\", 22, 4 110 23 8
text \"Sign Out:\", 29, 4 110 22 8
edit \"\", 23, 30 108 157 10
text \"Idle:\", 24, 4 156 11 8
button \"E&xit\", 25, 256 191 37 12, ok
text \"Not found in /whois or /whowas listings\", 26, 30 18 102 8
edit \"\", 28, 30 167 157 10
list 30, 193 97 100 80, size
text \"0 Common out of 0 Channels:\", 31, 193 86 98 8
text \"0 Clones detected:\", 32, 193 6 98 8
list 33, 193 17 100 66, size
text \"DNS:\", 34, 4 98 13 8
edit \"\", 35, 30 97 157 10
radio \"Kill\", 13, 4 35 22 8, group
radio \"K-Line\", 14, 4 46 25 8
radio \"Z-Line\", 27, 30 46 25 8
radio \"G-Line\", 36, 56 35 25 8
radio \"Shun\", 37, 30 35 22 8
radio \"GZ-Line\", 38, 56 46 28 8
}

I\'ve given the dialog a little breathing space so it\'s not all shoved together, and I\'ve also aligned your controls so that the left/right/top/bottom borders line up on your dialog. It might sound fussy, but something simple like lining up your controls makes a world of difference to the presentation of your dialog.

I\'m not saying it\'s perfect, but I think it\'s a lot less cluttered and more organised. It\'s up to you whether you use it or not but hopefully you\'ll be able to see the improvements I\'ve made.
RusselB
Comments: 98
 
mIRC Snippet:  Whois dialog
Posted on Sep 28, 2007 9:07 pm
Thanks for the suggestions, Hixxy, and using your code I can now see why it appears that items are not aligned.
In regards to those radio buttons, they shouldn\'t show up unless you have IRCops on the active network when the dialog is started, and if you do have IRCops, then you should already know what those items do.

I am in the process of combining a number of the scripts that I\'ve been asked for or have noticed used a lot into one, and I think I\'ll offer your layout as an alternative in the final code. Appropriate credits will be posted.
Scakk
Comments: 218
 
mIRC Snippet:  Whois dialog
Posted on Oct 15, 2007 3:18 am
If I enter 2 or more names in the Input box if no nicks are clicked I get each nick twice except for the first one.

Ex: blues,waiterjohn,nicky

Gives in the drop down box: blues waiterjohn nicky waiterjohn nicky

RusselB
Comments: 98
 
mIRC Snippet:  Whois dialog
Posted on Mar 17, 2008 12:25 am
I know this is a late post, but thanks for the information Scakk.. I\'ll try to have that fixed for my next update.
SpotRedDog
Comments: 81
 
mIRC Snippet:  Whois dialog
Posted on Mar 20, 2008 9:36 pm
Russell, I just went and updated as I see you made changes and now it doesn\'t work at all for 6.21 it only has the drop down box the exit button doesn\'t light up at all and the IRCop\'s stuff light up and I am not a IRCop I am a local op and having G-line and Z-line and the rest there is pointless and the rest of the dialog doesn\'t even light up at all so something is wrong with the dialog and I can\'t figure it out!!!! so I hope you can fix it bro I really liked using yours and deleted the script so please fix it as soon as possible!!!!
RusselB
Comments: 98
 
mIRC Snippet:  Whois dialog
Posted on Mar 21, 2008 1:46 pm
The line information shouldn\'t show unless you are an IRCop. The Exit button is disabled until the Whois or Whowas information has been retrieved. I don\'t know why your copy isn\'t working, but I just tested mine, and will edit the current posted copy with a copy of the one I\'m using in just a few minutes.
SpotRedDog
Comments: 81
 
mIRC Snippet:  Whois dialog
Posted on Apr 25, 2008 8:24 am
I got it working so its good to go and I like it how some of the boxes drop away if you don\'t need them thats a nice feature!!!!Good Job!!!!! Keep all the great snippets and addon\'s coming your the Zen Master.
RusselB
Comments: 98
 
mIRC Snippet:  Whois dialog
Posted on Apr 25, 2008 6:22 pm
Working on further updates.. Hope to have the updates finished and working by the end of the month, so watch for an update to the posted code within the next week.
^Neptune
Comments: 244
 
mIRC Snippet:  Whois dialog
Posted on Apr 29, 2008 3:43 pm
No offense, but I don\'t exactly see the point in a whois dialog when you can just whois them normally and get the info you need.
jonesy44
Comments: 943
 
mIRC Snippet:  Whois dialog
Posted on Apr 29, 2008 3:50 pm
check out my whois dialog, then yaall see why :P

Please Register or Login to start posting comments.
Bottom