Raw Whois Text Command Script

By Acclamator on Nov 17, 2008

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.

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

Sign in to comment.
burford   -  Nov 19, 2008

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.

 Respond  
napa182   -  Nov 18, 2008

^Neptune said

Eat THAT napa.

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

Cheiron said:

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

 Respond  
^Neptune   -  Nov 18, 2008

Eat THAT napa.

 Respond  
Cheiron   -  Nov 18, 2008

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

 Respond  
napa182   -  Nov 18, 2008

iv never had that happen on the 160 some servers i have been to.

 Respond  
Cheiron   -  Nov 18, 2008

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

 Respond  
a careful warchild   -  Nov 18, 2008

LOL @ napa

 Respond  
napa182   -  Nov 18, 2008

^Neptune said:

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

 Respond  
^Neptune   -  Nov 18, 2008

The !idle does not work for me. I changed the script to:

whois $$2 $$2

which worked fine.

You need to use the nick twice in a /whois to get the idle time iirc.

 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.