mIRC Home    About    Download    Register    News    Help

Print Thread
#22809 06/05/03 09:46 PM
Joined: Feb 2003
Posts: 28
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Feb 2003
Posts: 28
What I want is to find out which channels someone is on, and also what their full name is through identifiers. These can all be achieved through raw commands, but I cannot seem to get them elsewhere.

An example is to find someone's idletime. I'd put:$duration($nick($2,$3).idle)) (this example works). I'm hoping to get a similar command for finding a user's fullname and what channels they're currently on, but haven't had any luck.

Any ideas?


------------------
*** ArcticFire ***
#22810 06/05/03 09:47 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
i can only give u a remote command for this so here it is:

code:


#find on
raw 352:*:{
msg $active user: $msn.decode($replace($6,>,guest_)
msg $active gate: *!* $+ $3 $+ @ $+ $4
msg $active channel name: $2
msg $active url: $msn.geturl($2)
}
#find end
on *:JOIN:#:{
.disable #find
.timer 1 4 .enable #find
}
on admin:TEXT:`find*:#:{ /who $2 }


you would type `find blah to look up all blahs info cool

Last edited by pheonix; 06/05/03 09:50 PM.

new username: tidy_trax
#22811 06/05/03 10:07 PM
Joined: Feb 2003
Posts: 28
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Feb 2003
Posts: 28
* Invalid format: $msn.decode (line 175, bars.mrc)

Plus, it's for tooltips in a nicklist, so it cannot work that way. That's why I was hoping for an identifier. Thanks anyways tho smile

Anyone else for ideas?


------------------
*** ArcticFire ***
#22812 06/05/03 10:17 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Such identifiers cannot exist because of the way IRC works. This information isn't supplied by the server without you asking for it (with a /whois). And even if mirc went out of the way /whoising people (and generating a LOT of traffic/lag) the integrity of these internal lists (fullnames, channels) would be compromised (for example, qwerty leaves a channel right after you /whois him; the identifier that returns all channels that qwerty is in would be incorrect, at least till the next /whois on qwerty).


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#22813 06/05/03 10:25 PM
Joined: Feb 2003
Posts: 28
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Feb 2003
Posts: 28
I see...

I only thought this would be possible since I've already figured out the proper identifiers for Idle, Common Channels, and Address.


------------------
*** ArcticFire ***
#22814 07/05/03 12:01 AM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
by chance are u using nicklist.dll for your nicklist? ..... if so i was kinda curious if its possible to do on the fly icon changes thru it ... if uve even tested it ...... cause ive done mine entirly thru mdx without the nicklist dll and well it kinda flickers on refilling the list ..... kinda annoying ..... and well ive run a /who on the channel to pull awaynicks from a list
just curious i know this is off post alil


D3m0nnet.com
#22815 07/05/03 12:38 AM
Joined: Feb 2003
Posts: 28
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Feb 2003
Posts: 28
Nope, I use nickLUST.dll by Naru. I find it easier to script with, and also more efficient. You can get it from my site in my signature if you'd like.


------------------
*** ArcticFire ***
#22816 07/05/03 02:06 AM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
ok ive looked at that one too ...... but i dont see anywhere in it that allows u to change an icon for specific nicks ... thats kinda what i want something that compiles thwe list but allows me to change icons besides the defualt ops halfops voice and regular ...... id like to have an added one for away nicks which i put into a variable ..... i didnt see anywhere in there to change icons like that ..... ty for replying too


D3m0nnet.com

Link Copied to Clipboard