mIRC Homepage
Posted By: javatis /action $nick.idle doesent work - 14/07/05 10:09 PM
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?
Posted By: xDaeMoN Re: /action $nick.idle doesent work - 14/07/05 10:36 PM
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)
Posted By: javatis Re: /action $nick.idle doesent work - 14/07/05 11:08 PM
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
Posted By: xDaeMoN Re: /action $nick.idle doesent work - 14/07/05 11:33 PM
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.
Posted By: javatis Re: /action $nick.idle doesent work - 14/07/05 11:44 PM
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
© mIRC Discussion Forums