Top

Raw Whois Text Command Script


mIRC Code
+ 1 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Nov 17, 2008
Last Updated  Nov 17, 2008
Tags  commands  text  whois 

Introduction

This is used by other people in the channel to retrieve the requested whois info.
usage: !idle bob :displays the idle time of "bob"
usage: !chan bob :tells the channel what channels "bob" is in.
most people can do a simple Whois, but there are some servers that are home to programs that cannot use whois, such as frostwire.

Grab the Code

on *:TEXT:!chan*:#:{ set %chansay $chan | set %channsay 1 | whois $$2 }
raw 319:*: if ( %channsay == 1 ) { /msg %chansay $2 is in $3- }
raw 318:*: unset %chansay | unset %channsay | unset %iidle | unset %idle
 
on *:TEXT:!idle*:#:{ set %iidle $chan | set %idle 1 | whois $$2 }
raw 317:*: if ( %idle == 1 ) { /msg %iidle $2 has been idle for $calc($3 / 60) minutes ( $3 seconds ) }
 

Comments

  (9)  RSS
^Neptune
Comments: 598
 
mIRC Snippet:  Raw Whois Text Command Script
Posted on Nov 18, 2008 2:54 pm
The !idle does not work for me. I changed the script to:
Code:
whois $$2 $$2

which worked fine.

You need to use the nick twice in a /whois to get the idle time iirc.
napa182
Comments: 1,454
 
mIRC Snippet:  Raw Whois Text Command Script
Posted on Nov 18, 2008 3:04 pm
^Neptune said:
Quote:
You need to use the nick twice in a /whois to get the idle time iirc.


um no you dont

neptune stop giving people wrong advice
a careful warchild
Comments: 243
 
mIRC Snippet:  Raw Whois Text Command Script
Posted on Nov 18, 2008 3:39 pm
LOL @ napa
Cheiron
Comments: 627
 
mIRC Snippet:  Raw Whois Text Command Script
Posted on Nov 18, 2008 3:42 pm
some servers yes you do napa i am afraid. the server i use is made up of 2 chatserver. irc3 and irc4. you can see idle times by doing a whois if they are on the same irc as you. eg irc4 and irc4. but if you on opposite servers irc3/irc4 then you have to do whois nick nick to gain the idle times
napa182
Comments: 1,454
 
mIRC Snippet:  Raw Whois Text Command Script
Posted on Nov 18, 2008 3:49 pm
iv never had that happen on the 160 some servers i have been to.
Cheiron
Comments: 627
 
mIRC Snippet:  Raw Whois Text Command Script
Posted on Nov 18, 2008 4:04 pm
yeah, most servers dont have that issue. the one i use is made up of a few servers. but it is not just a irc chat server. there is a java chat applet on there and an av server all making up the one. so to get cross server idle times you gotta to the /whois nick nick
^Neptune
Comments: 598
 
mIRC Snippet:  Raw Whois Text Command Script
Posted on Nov 18, 2008 4:07 pm
Eat THAT napa.
napa182
Comments: 1,454
 
mIRC Snippet:  Raw Whois Text Command Script
Posted on Nov 18, 2008 5:07 pm
^Neptune said
Quote:
Eat THAT napa.


lmao this comming from a leech that can't code his own stuff

Cheiron said:
Quote:
yeah, most servers dont have that issue. the one i use is made up of a few servers. but it is not just a irc chat server. there is a java chat applet on there and an av server all making up the one. so to get cross server idle times you gotta to the /whois nick nick


um iv been on servers that use 8 diff servers to run the irc along with java and flash chats and never had to do /whois nick nick all it took was /whois nick..
burford
Comments: 10
 
mIRC Snippet:  Raw Whois Text Command Script
Posted on Nov 19, 2008 9:41 pm
I have watched snippets on here for a long time now....Im no coder by any means of the imagination, but it seems that if your not a hot shot coder on here you hardly ever get any praise. Oh well such is life.

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom