mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2004
Posts: 43
J
javatis Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Aug 2004
Posts: 43
hi iam searcihing a way to get the idletime when i ping someone but the line

/action test1 $nick.idle test2

gives out

test1 test2 only... whats wrong with that?

Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
You can use $nick(#,NICK).idle to get the idle time of a person in the Channel

//me NICK you've been idling for $duration($nick(#,NICK).idle)


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
Joined: Aug 2004
Posts: 43
J
javatis Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Aug 2004
Posts: 43
uhm well i have tried commands with

$nick(#,NICK)

but it looks like i cant use that command on the server... is there any other way causethe script iam using has a popup for looking up a nick and taht returns also an idletime

Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
You'll have to provide the nickname (Change "NICK").

To use it in a pop up, you can do it like this

Code:
 menu nicklist {
  test_popup: echo -a $$1 $+'s  Idle time is $duration($nick(#,$$1).idle) 
} 


That will give the idle time of the person in the active channel.

If you want to get their idle time in the server, you can whois them (/whois nickname nickname) then RAW 317 will give you the idle time.


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
Joined: Aug 2004
Posts: 43
J
javatis Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Aug 2004
Posts: 43
yes i know but the problem was ...

$nick(#,N)

and

$nick($chan,N)

dident work but with

$nick($chan(1),$nick).idle

it works. thx laugh


BUT it is different fro the idle time i have in the whois lookup... can u tell me more how to get thisone?

Or better said i need the idle time that has been displayed ad the mirc address book

greetz

Last edited by javatis; 15/07/05 12:06 AM.

Link Copied to Clipboard