mIRC Homepage
Posted By: MrPeepers Whois ON Join - 17/08/03 05:30 AM
Ive tried a few code variations on this but it either shows the whois in the status window or not at all, Im trying to have it echo the whois in the current channel and say So and so has join this channel I can get the message for on Join easily but I cant get the whois is echo in the curent window help please
Posted By: pheonix Re: Whois ON Join - 17/08/03 05:36 AM
type: /debug @debug
then whois the person and get raw numerics from @debug.
Posted By: Othello Re: Whois ON Join - 17/08/03 05:43 AM
go to your m irc options\IRC and check whois in the active window
Posted By: pheonix Re: Whois ON Join - 17/08/03 05:49 AM
or that grin
Posted By: MrPeepers Re: Whois ON Join - 17/08/03 05:57 AM
whois is set to active window and the debug thing only shows me the the raw codes which I can not use on my server cause I dont have high enough access
Posted By: Othello Re: Whois ON Join - 17/08/03 06:25 AM
Raw commands can be used by anyone.
but they are most effective when you are a channel op.
these are basic raw commands just build your scripts around them the raw commands 311 and 319 can be used to monitor Nicks and the channels they are in. there are othr Raw commands that can be used. You can find more information on raw commands by using the Search feature on this web page
Posted By: MrPeepers Re: Whois ON Join - 17/08/03 06:54 AM
Otay I got that all sorted out I just have the whois directed at a custom window but there is one problem
first heres the code
raw 311:*:/window -e @whoo | /echo @whoo $1-
raw 319:*:/echo @whoo $1-
raw 312:*:/echo @whoo $1-
raw 317:*:/echo @whoo $1-
raw 318:*:/echo @whoo $1-
raw 307:*:/echo @whoo $1-
the response comes out the way I like but the idle time and sign on time are weird heres a response
ManacleMangler ManacleMangler ForustGump IRChat-2D144097.nas18.minneapolis1.mn.us.da.qwest.net * SlappySquirrel
ManacleMangler ManacleMangler is a registered nick
ManacleMangler ManacleMangler @#AdultChat *#USA #ice_palace
ManacleMangler ManacleMangler wikked.irchat.tv Feel The Experience
ManacleMangler ManacleMangler 166 1061096716 seconds idle, signon time
ManacleMangler ManacleMangler End of /WHOIS list.
thats in the custom window and the right seponse for the idle time is
ManacleMangler has been idle 2mins 46secs, signed on Sun Aug 17 00:05:16 any ideas?
Posted By: landonsandor Re: Whois ON Join - 17/08/03 08:29 AM
try using:
Time Oline - $duration($calc($ctime - $4))
Idle Time - $duration($3)

See if that helps smile In case this is wrong or I missed the point entirely, it seems like you wanted to convert time online & idle time to a real value so if this isnt the case, I apologise smile
Posted By: MrPeepers Re: Whois ON Join - 17/08/03 08:43 AM
my problem is the whois that appears in the custom window is different then the whois that appears in the status window
Posted By: landonsandor Re: Whois ON Join - 17/08/03 09:01 AM
it's going to appear different because simple of $1-..... let me ask a stupid question then..... what are you going for specifically in your whois script? To look exactly like the servers "default" output with slight modification or a total rewrite into your own custom displayer?
Posted By: sparta Re: Whois ON Join - 17/08/03 03:03 PM
raw 401:* { echo @whoo Idle $2 | halt }

this i hope solve the problem with the idle time.. smirk
Posted By: Xc0n Re: Whois ON Join - 17/08/03 07:59 PM
$duration($3)
Posted By: MrPeepers Re: Whois ON Join - 17/08/03 11:52 PM
IM just having the default ouput of the server whois displaying into a custom window
raw 311:*:/window -e @whoo | /echo @whoo 12------------- | /echo @whoo $1-
raw 319:*:/echo @whoo $1-
raw 312:*:/echo @whoo $1-
raw 317:*:/echo @whoo $1-
raw 307:*:/echo @whoo $1-
It it doesnt output the correct times
© mIRC Discussion Forums