Whois Dialog
Platform: mIRC
Published Apr 27, 2007
Updated 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 }
}
}