Please Disable Ad-Block To View This Website.

If you block ads, this site can not survive!

Ads are very minimal for registered users. If you don't have an account please register now!

DOWNLOAD
 Full Scripts
 Addons
 Snippets
 DLLs
 MTS Themes
 Tutorials
 Misc.
 File Queue
 Download mIRC
INTERACT
 Screenshots
 Challenge
 Top Downloads
 Submit Form
 Forums

SEARCH
Site Search

FRIENDS
Link to us!
PhotoShelf

Home | Comments:
Average Rating:   8.8   Nick Info v1.6 by jizzy
Description:
Shows info about a nickname when you hover over it in a channel window.

Submitted Review Author's Updates

There is no review for this file yet.
Now uses a dynamically sized picture window
No longer steal focus from mirc
Moving mouse outside window for a certain period closes the window
Window now fades in and out
Now checks that the channel buffer size matches to stop the nickinfo triggering if the nickname isn't hotlinked anymore eg. buffer moved, this also prevents an idle hotlink where a hotlink is triggered from buffer movement rather that mouse movment
Better capturing of nicknames using regex (thanx hixxy)
Window is now placed so that the mouse cursor is positioned in the middle
Improved the way window closing is handled
Minor fixes
Bug fixes
Screenshot:

Comments:

  Mode:    Create New Post

Master_Of_MischiefOct 30, 2011 2:38PM
Rating:     9I liked this snippet. Only trouble is, if you have a right click option on the names in the room then this snippet tends to overide them. However it's very useful, as it doens't require you to /whois all the time, even if it only has limited information on it.

c00l_b0yOct 2, 2006 12:43PM
my status windows gets full with this error --------> NOOP Unknown command

please help !!!

jizzyOct 2, 2006 8:50PM
What version of mirc are you using? Try updating to the latest.

c00l_b0yOct 3, 2006 2:44PM
i am using v6.16 :( .. its almost the lastest 1 but still :(( .. plz help me

jizzyOct 3, 2006 7:56PM
A workaround would be to change "noop" to ".echo -q"

c00l_b0yOct 4, 2006 4:47AM
thxxxxxxx alot buddy .. and btw great work ... thx again :)

WinxzySep 25, 2006 10:01AM
where do i put this script :) kind of new to irc :)

thanks in front :)

jizzySep 26, 2006 3:40AM
In remotes, alt+r

WinxzySep 26, 2006 9:36AM
quote:
jizzy said:

In remotes, alt+r
thank you!

WinxzySep 26, 2006 9:37AM
how would it work now as i posted it in remote ?

jizzySep 28, 2006 11:33PM
Put your mouse on someones nick in the channel window (not nicklist)

jizzySep 28, 2006 11:33PM
Put your mouse on someones nick in the channel window (not nicklist)

fntSep 25, 2006 1:51PM
very nice

impuLseSep 24, 2006 3:08PM
Rating:     10fuckin nice, i love it! <3<3

DefauLtSep 24, 2006 1:56PM
Rating:     6Good job jizzy :)

ToXedVirusSep 24, 2006 5:38AM
This addon is now very very very very very very very very very SEXY !
I just love it !
A more colorful picture win would be nice though ..
The only problem now is that you cant click on the channels to join them, but its a easy task to get the position of the text ... and calculate which channel it is. Would be very nice if this function would be added.

Text edited by author on Sep 24, 2006 @ 5:51AM


ToXedVirusSep 17, 2006 6:14PM
Rating:     10a picture window would be very nice !
and it would be cool if the window dissapeared if the mouse would get out of the window rect

[Hercules]Sep 17, 2006 6:43PM
that was annoying too...but i guess clicking out of it is good enough

ToXedVirusSep 19, 2006 11:08AM
Picture windows in mirc have such a event like 'left', it is called when the mouse leaves the picture window area ...

hixxySep 17, 2006 8:54AM
Great idea.

Couple of suggestions:
- Make it half a second until the window opens. A full second is a while to wait.
- You can support dynamic mode prefixes instead of just @ and + if you use this:

on ^*:hotlink:*:#:{
  if ($remove($1,<,>,$chr(40),$chr(41), [ $left($regsubex($prefix,/(.)/g,\t $+ $chr(44)),-1) ] ,!,%,:,?) ison $chan) .timer.nickinfo 1 1 nickinfo $v1 $mouse.dx $mouse.dy
  halt
}


[Hercules]Sep 17, 2006 10:01AM
i edit the thing with the half of second, and it makes so annoying...plus if you could add way to toggle it on/off...also make the dialog a littler smaller, and maybe
the font, i was expecting a picwin with colors and all that good stuff but i guess not oh well.

jizzySep 17, 2006 10:27AM
I left the dialog that size to suit a larger font. I couldn't draw a smiley face in picwin, thats why I released as a code snippet so someone with some picwin talent could use the idea and make a wonderful addon that will make your pants wet ;)

jizzySep 17, 2006 10:24AM
Cheers, I actually thought of that but couldn't work out a way to implement it, I have 0 knowledge of regular expressions.

hixxySep 17, 2006 11:47AM
The $left($regsubex(...),-1) part is just a shorter way of doing what $_prefix does in this:

alias _prefix {
  var %i = 1, %result
  while ($mid($prefix,%i,1) != $null) {
    %result = $v1 $+ ,
    inc %i
  }
  return $left(%result,-1)
}
on ^*:hotlink:*:#:{
  if ($remove($1,<,>,$chr(40),$chr(41), [ $_prefix ] ,!,%,:,?) ison $chan) .timer.nickinfo 1 1 nickinfo $v1 $mouse.dx $mouse.dy
  halt
}

It's the evaluation brackets that highlight the important part. It basically means the , returned from $_prefix (or $regsubex) are treated as parameter separators and not plaintext.

jizzySep 18, 2006 2:55AM
Nice, yeah, I only wrote it quickly a few minutes before I had to goto work, so I didn't go into that much detail. heh
Is there a better way to catch the nickname using regex, like make it return the nickname with all non-aphanumeric characters stripped (excluding `^-_[]{}|\ which can be part of a nickname)?

Text edited by author on Sep 18, 2006 @ 3:46AM


hixxySep 18, 2006 5:12AM

alias getnick {
  noop $regex(nick,$1,/([a-zA-Z\Q`^-_[]{}|\\E]+)/iS)
  return $regml(nick,1)
}

$getnick(<string>)

Text edited by author on Sep 18, 2006 @ 5:12AM


jizzySep 18, 2006 5:22AM
Works a treat except if there is numbers in the nickname.
Also I have this to check if the [nick] is part of the theme and not actually part of the nickname:

on ^*:hotlink:*:#:{
  if (($_nick($1) ison $chan) || ($_checktheme($1) ison $chan)) $&
    .timer.nickinfo -m 1 700 nickinfo $v1 $mouse.dx $mouse.dy $line($chan,0)
  halt
} 
alias -l _nick {
  noop $regex(nick,$1,/([a-zA-Z\Q`^-_[]{}|\\E]+)/iS)
  return $regml(nick,1)
}
alias -l _checktheme {
  noop $regex(nick,$1,/([a-zA-Z\Q`^-_{}|\\E]+)/iS)
  return $regml(nick,1)
}

Any way to simplify that?

Text edited by author on Sep 18, 2006 @ 5:24AM


hixxySep 18, 2006 5:27AM
I'm not sure what you mean about checking the theme, but this will allow numbers:

alias -l _nick {
  noop $regex(nick,$1,/([a-z0-9\Q`^-_[]{}|\\E]+)/iS)
  return $regml(nick,1)
}


jizzySep 18, 2006 5:43AM
My current theme outputs my own text as [jizzy] blah, so what I am doing is first checking is [jizzy] ison $chan if not then check if jizzy is on the channel.

hixxySep 18, 2006 5:46AM

alias -l _checktheme {
  noop $regex(nick,$1,/([a-zA-Z\Q`^-_{}|\\E]+)/iS)
  return $mid($regml(nick,1),2,-1)
}

Just use if ($_checktheme($1) ison $chan) { } for you, and if ($_nick($1) ison $chan) { } for the version you'll release.

jizzySep 18, 2006 5:56AM
Well I figured there is a lot of themes that use a "[nick] whatever" style output, so i might leave it in there, thanx for you help I owe u one :P



Create New Post

You must be logged in to post messages.