mIRC Home    About    Download    Register    News    Help

Print Thread
#184182 26/08/07 11:38 AM
Joined: Mar 2005
Posts: 39
B
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Mar 2005
Posts: 39
Is there any way doing a /timer without showing the "activated/halted" information in status window?

bapplander #184185 26/08/07 11:45 AM
Joined: Apr 2006
Posts: 464
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
Yes, you can silence most commands by adding a . in front of the command. It works also for the timer command.

.timer-without-warnings 1 1 echo -s command executed.

OrionsBelt #184290 27/08/07 01:31 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Well, it's not really infront of the command is it? :P

Inbetween the forward slash and the command.

/.timer 1 1 echo -s Silent timer.

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
In a script, the / isn't required, so
Code:
/.timer 1 1 echo -s Silent Timer
and
Code:
.timer 1 1  echo -s Silent Timer
are the same.

RusselB #184363 28/08/07 02:28 AM
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Originally Posted By: RusselB
In a script, the / isn't required, so
Code:
/.timer 1 1 echo -s Silent Timer
and
Code:
.timer 1 1  echo -s Silent Timer
are the same.


He was talking about in front of the command! :P the last op said in front of the command instead of at the beginning :P


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
RusselB #184373 28/08/07 08:25 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Lpfix5 is correct, nonetheless the usage of the "/" doesn't really matter, some use it some don't it comes down to personal preference.

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
I'm not disputing what Lpfix5 says, but as I see it, there are actually two commands in the line. The first is the command that starts the timer, the second is the command that is executed when the timer ends. Using this as the basis, then the . is in front of the command -- the timer command.


Link Copied to Clipboard