mIRC Home    About    Download    Register    News    Help

Print Thread
#79869 18/04/04 11:27 PM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
alias timer { timer -hm 0 0999 echo -a $!time !time | halt }


mess with the best
#79870 19/04/04 12:30 AM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
How are we supposed to help if you just paste code without any explanation of the problem?


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#79871 19/04/04 12:42 AM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
how can i do to the secons
has not

10:03:00
10:03:01
10:03:02

i want in the same place


mess with the best
#79872 19/04/04 04:59 AM
Joined: Mar 2004
Posts: 111
Z
Vogon poet
Offline
Vogon poet
Z
Joined: Mar 2004
Posts: 111
ya im still confused, please refine your english if at all possible smile

#79873 19/04/04 05:24 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
I guess he wants the timer to write over the same line. This is only possible with custom windows. For example:

alias example {
window @win
aline @win $time
.timerCLOCK 0 1 rline @win 1 $!time
}
On *:close:@win: .timerCLOCK off

#79874 19/04/04 01:42 PM
Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
Just for the sake of an alternative, here's the snippet I've been using for a while now:

Code:
on *:START:clock
on *:CLOSE:%time:.timerclock off
alias clock { set %time @ $+ $time | .timerclock 0 1 setclock | window -nzk0 %time }
alias setclock { var %t = @ $+ $time | renwin %time %t | set %time %t }

It messes up when you're editing variables in remote though..


Saturn, QuakeNet staff
#79875 20/04/04 12:32 AM
Joined: Dec 2002
Posts: 102
M
Vogon poet
Offline
Vogon poet
M
Joined: Dec 2002
Posts: 102
You can also use a timer to change the titlebar in the application itself:

on *:start:.timerClock 0 1 titlebar $!time

or

on *:start:.timerClock 0 1 titlebar $!time(h:nn:sstt)

Or any other items of your choosing, I often put in variables when I'm testing code so I can constantly see it's value when I'm tinkering. This is one way to get around needing a custom window...


-
MIMP
#79876 20/04/04 09:53 AM
Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
That's a matter of taste I guess.. I hardly ever look at mIRC's titlebar, it's too far up. wink


Saturn, QuakeNet staff

Link Copied to Clipboard