whois number of the nick

By Annaiidziithaa on Oct 06, 2011

Whois option to choose the number corresponding to the nick in nick list
the explanation of how it works in the title of this post

;Tested in the latest version of mIRC and if it works.

on *:input:#: {
  if ($1 == w) && ($$2 isnum) { whois $nick(#,$2) }
}

Comments

Sign in to comment.
Firstmate   -  Oct 12, 2011

//shrugs/
Forgot about that, cheers.

 Respond  
Firstmate   -  Oct 07, 2011

If you're really trying to help whoever loads the script by doing input validation, you mind as well check to see if a nick exists by that index.

 Respond  
_Dean_   -  Oct 07, 2011

Annaiidziithaa np, as im seeing, you're the only who check that was a tip to make your script better
instead posting off-topics things without no sense

 Respond  
Annaiidziithaa   -  Oct 07, 2011

Dean Thanks

 Respond  
Annaiidziithaa   -  Oct 07, 2011

If this forum has a button to ban certain incoherent comments, automatically removing the contents of it, save me a lot of work, but unfortunately the technology of which I speak does not exist yet.

 Respond  
Jethro   -  Oct 07, 2011

/Me looks at the only avatar here with a Japanese anime long face. Points ~ culprit ~~

 Respond  
blackvenomm666   -  Oct 06, 2011

hey jethro don't make fun of him for his spelling it's not his fault that two syllable words give him headaches and make it hard for him to think
Dictionary.com results on the word genious
genious- A fool that uses the handle Dean/teen that thinks he is always right and will argue with everyone about it trying to make them listen to his way of doing things even if they are redundant, likes to argue and start problems on hawkee.com with its users trying to make them look stupid when in fact he cannot even spell the word genius properly.

 Respond  
Jethro   -  Oct 06, 2011

You make a fool out of yourself mocking me with the word genius misspelled. I think you're a true genius, not me. I never claimed myself as one.

 Respond  
_Dean_   -  Oct 06, 2011

By all means, include an extra $ and isnum check for $2.

Thanks MSL genious... that is what i did...

 Respond  
Jethro   -  Oct 06, 2011

Unless you call yourself stupid. By all means, include an extra $ and isnum check for $2.

 Respond  
_Dean_   -  Oct 06, 2011

Jethro the only "unnecessary" thing here, its your existence
if someone types just w as $$1 without the $2 it will return an error like

No nickname given

if someone types, w and $$2 its a letter, it will return an error...

 Respond  
Jethro   -  Oct 06, 2011

That is an unnecessary "tip." It's an input event, unless you do that to yourself by purposely entering something else rather than a number. It makes sense to apply that check to a text event. The description also states the input of a number for $2 clearly.

 Respond  
Annaiidziithaa   -  Oct 06, 2011

Jethro lol, that's the concept, will have to tell. :p

 Respond  
ulquiorra4   -  Oct 06, 2011

O.o

 Respond  
Jethro   -  Oct 06, 2011

Wouldn't it be simpler to enter the nickname by itself? If you have 100+ users in your room, are you going locate the number of his or hers in the nicklist and then whois them? :p

 Respond  
Annaiidziithaa   -  Oct 06, 2011

no need to put the nick of the user, just put the number, also clarify that .. the other fragment that I did previously if it was well built, what happens is that the "gray area" that mentioned Jethro, I made that way to highlight my nick., and it certainly does not work in the current version of mIRC but if it works in earlier versions, I made the mistake of making the piece and test it in a very old version of mIRC, but already solved.

 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.