mIRC Home    About    Download    Register    News    Help

Print Thread
#42283 17/08/03 05:30 AM
Joined: Aug 2003
Posts: 136
Vogon poet
OP Offline
Vogon poet
Joined: Aug 2003
Posts: 136
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


In Virginia, chickens cannot lay eggs before 8:00 a.m., and must be done before 4:00 p.m.
#42284 17/08/03 05:36 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
type: /debug @debug
then whois the person and get raw numerics from @debug.


new username: tidy_trax
#42285 17/08/03 05:43 AM
Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
go to your m irc options\IRC and check whois in the active window




Intelligence: It's better to ask a stupid question, then to prove it by not asking....
#42286 17/08/03 05:49 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
or that grin


new username: tidy_trax
#42287 17/08/03 05:57 AM
Joined: Aug 2003
Posts: 136
Vogon poet
OP Offline
Vogon poet
Joined: Aug 2003
Posts: 136
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


In Virginia, chickens cannot lay eggs before 8:00 a.m., and must be done before 4:00 p.m.
#42288 17/08/03 06:25 AM
Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
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




Intelligence: It's better to ask a stupid question, then to prove it by not asking....
#42289 17/08/03 06:54 AM
Joined: Aug 2003
Posts: 136
Vogon poet
OP Offline
Vogon poet
Joined: Aug 2003
Posts: 136
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?


In Virginia, chickens cannot lay eggs before 8:00 a.m., and must be done before 4:00 p.m.
#42290 17/08/03 08:29 AM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
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


Those who fail history are doomed to repeat it
#42291 17/08/03 08:43 AM
Joined: Aug 2003
Posts: 136
Vogon poet
OP Offline
Vogon poet
Joined: Aug 2003
Posts: 136
my problem is the whois that appears in the custom window is different then the whois that appears in the status window


In Virginia, chickens cannot lay eggs before 8:00 a.m., and must be done before 4:00 p.m.
#42292 17/08/03 09:01 AM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
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?


Those who fail history are doomed to repeat it
#42293 17/08/03 03:03 PM
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
raw 401:* { echo @whoo Idle $2 | halt }

this i hope solve the problem with the idle time.. smirk


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
#42294 17/08/03 07:59 PM
Joined: May 2003
Posts: 21
X
Ameglian cow
Offline
Ameglian cow
X
Joined: May 2003
Posts: 21
$duration($3)


-
Xc0n
#42295 17/08/03 11:52 PM
Joined: Aug 2003
Posts: 136
Vogon poet
OP Offline
Vogon poet
Joined: Aug 2003
Posts: 136
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


In Virginia, chickens cannot lay eggs before 8:00 a.m., and must be done before 4:00 p.m.

Link Copied to Clipboard