mIRC Home    About    Download    Register    News    Help

Print Thread
Separate idle from sign on #76191 23/03/04 05:53 AM
Joined: Jan 2004
Posts: 84
A
Adriano Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Jan 2004
Posts: 84
hello
i want to separate from idle sign on anyone can help

raw 317:*:{ echo -a idle: has been for: $duration($3) $+ , signed on $asctime($4) | haltdef }

i want to use smilar like this

idle: blah blah
sign: blah blah

thanks

Last edited by Adriano; 23/03/04 05:53 AM.
Re: Separate idle from sign on #76192 23/03/04 11:00 AM
Joined: Dec 2002
Posts: 208
C
Cobra Offline
Fjord artisan
Offline
Fjord artisan
C
Joined: Dec 2002
Posts: 208
Code:
raw 317:*: {
  echo -a Idle: $duration($3)
  echo -a Connected: $asctime($4,ddd mmm d h:nnt)
  halt
}


obviously you can change how the connection time apears useing different items in the 2nd argument of $asctime()

but all you have to do is echo each however you like, then halt the default operation of the raw so that mIRC doesnt echo its own.

Cobra^

Re: Separate idle from sign on #76193 23/03/04 07:51 PM
Joined: Jan 2004
Posts: 84
A
Adriano Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Jan 2004
Posts: 84
Cobra^, thanks very much.