mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Nov 2014
Posts: 5
T
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Nov 2014
Posts: 5
I am wondering if there is any way to take the output of the /who command and save in a file or copy to clipboard, I tried this:
/log on Status -f D:\who.txt - gives * Logging Status to 'D:\who.log'
also tried
/log on Status -f D:\who.log - gives * Logging Status to 'D:\who.log'
/who - outputs a lot of data
/log off Status -f D:\who.txt and tried just /log off Status - gives * Logging for Status halted
No who.txt or who.log to be found

Joined: Feb 2015
Posts: 243
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Feb 2015
Posts: 243
Use *:*:raw event. Find out the numerics of WHO
because i dont remember it right now let's say it is 1
In tha case you'd have to use this scipt:
Code:
*:*:raw {
if ($numeric == 1) {
.write who.txt $1-
}
}

You might wanna double check the format of the event in the help files because i havent used it lately and i might be doing some typo
Good luck!

Joined: Jun 2003
Posts: 994
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
Raw 352:*: .write who.txt $1-

Last edited by CtrlAltDel; 03/05/16 06:16 PM.

I refuse to engage in a battle of wits with an unarmed person. wink
Joined: Nov 2014
Posts: 5
T
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Nov 2014
Posts: 5
I tried adding that as a popup, changed the numeric to 352, gives unknown command, specifically *:RAW Unknown command

Joined: Nov 2014
Posts: 5
T
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Nov 2014
Posts: 5
That gives me message * You are not on a channel

Joined: Jun 2003
Posts: 994
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
it goes in remotes
Raw 352:*: .write who.txt $1-
then just /who #channel


I refuse to engage in a battle of wits with an unarmed person. wink

Link Copied to Clipboard