Whois Dialog

By F*U*R*B*Y* on Apr 27, 2007

Just a simple whois dialog, type /whois and it will popup a dialog with there information

alias whois {
  unset %whois.*
  .whois $$1
}
dialog whois {
  title "Whois"
  size -1 -1 91 92
  option dbu
  text "Nick Name", 1, 4 10 27 8
  edit "", 2, 37 9 50 10, read
  text "Idle Time", 3, 4 21 27 8
  edit "", 4, 37 20 50 10, read
  text "Common Channels", 5, 4 32 27 16
  edit "", 6, 37 31 50 17, read multi vsbar
  text "Server", 7, 4 52 27 8
  edit "", 8, 37 51 50 10, read
  text "Status", 9, 4 63 27 8
  edit "", 10, 37 62 50 10, read
  text "Made By", 11, 11 80 25 8
  link "X-Static Codes", 12, 40 80 38 8
}
raw 311:*: set %whois.nick $2 | halt
raw 312:*: set %whois.server $3 | halt
raw 319:*: set %whois.comchan $3- | halt
raw 317:*: set %whois.idle $duration($3) | halt
raw 301:*: set %whois.status $3- | halt
raw 318:*: dialog -m whois whois | halt

on *:DIALOG:whois:*:*: {
  if ( $devent == init ) {
    did -a whois 2 %whois.nick
    did -a whois 4 %whois.idle
    did -a whois 6 %whois.comchan
    did -a whois 8 %whois.server
    did -a whois 10 %whois.status
  }
  else if ( $devent == sclick ) {
    if ($did == 12) { run http://xstatic.webtastix.co.nz }
  }
} 

Comments

Sign in to comment.
RusselB   -  Apr 30, 2007

Lindrian: I made mine /who2 simply so that the normal /whois command wasn\'t overridden. Changing it to use /whois rather than /who2 is simplicity itself.

More
 Respond  
F*U*R*B*Y*   -  Apr 30, 2007

=\"RusselB\"]No offense to FURBY*, however, from reading some of these comments, I think my Whois Dialog at http://www.hawkee.com/snippet/1652/ would be better for them.

none taken, this was just one of them, what the hell things :P bored, done a fair bit of tcl and thought i would do some mIRC :P

More
 Respond  
Lindrian   -  Apr 30, 2007

RusselB: I was trying yours out the other day, and it\'s very nice and all, althought it doesnt do the same as this one.

This one replaces the regular /whois, while you made yours /who2

And this is a simple one, while yours has tons of functions and stuff.

But indeed, yours is fine.

More
 Respond  
RusselB   -  Apr 30, 2007

No offense to FURBY*, however, from reading some of these comments, I think my Whois Dialog at http://www.hawkee.com/snippet/1652/ would be better for them.

More
 Respond  
X1qu10n3r   -  Apr 28, 2007

You should unset all the variables at the end when the dialog opens up.

More
 Respond  
F*U*R*B*Y*   -  Apr 28, 2007

set to all channels, forgot to change the text

More
 Respond  
Excellion   -  Apr 28, 2007

dumb question...was the Common channels supposed to include all the channels the person you whois is in or just common channels with you?...it gives all the channels

More
 Respond  
Lindrian   -  Apr 27, 2007

Let\'s say I wanted to whois this guy who just parted my channel, I have no idea if he quit or just parted. He quit and I get a empty dialog box open.

Then, ur script supports server name, and you can barly see half of the server name, due to not using autohs. use autohs and ull be able to \"scroll\" the edit bars and view it all.

So stop being rude about it, and accept the fact that you have to fix some stuff.

More
 Respond  
F*U*R*B*Y*   -  Apr 27, 2007

Lindrian, terribly sorry, but it seems i didn\'t get invited to the party where you were announcing the \"Everything has to be my standards\" party. Such a shame.... one person can\'t read there entire nickname, but you should know there nickname when you type /whois and also, don\'t be dumb enough to whois someone offline geez

More
 Respond  
|MELIORITE|   -  Apr 27, 2007

I like the use of raw commands and including channels in common. You can use the right click on nick feature to select whois if you\'re too lazy to type /whois and then get the nick. I like it.

More
 Respond  
Lindrian   -  Apr 27, 2007

Well, I wont use it, since i cant even read their name or such things fully...

More
 Respond  
Storm2108   -  Apr 27, 2007

Nice Script and Lindrian No one cares :P

More
 Respond  
Lindrian   -  Apr 27, 2007

Nothing too fancy, also lacks if the user is not online. If the user aint online u get the box up, with empty boxes. Fix?

What about making the boxes autohs so u can view them fully..??

More
 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.