mIRC Home    About    Download    Register    News    Help

Print Thread
#86487 11/06/04 11:32 PM
Joined: Jun 2004
Posts: 3
Z
zshadow Offline OP
Self-satisified door
OP Offline
Self-satisified door
Z
Joined: Jun 2004
Posts: 3
How would I go about setting up a timer that clears ONLY channel windows every 5 hours?

thanks smile

#86488 11/06/04 11:46 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
on *:connect:{ .timerclear $+ $cid 0 18000 clearall -n }

Last edited by tidy_trax; 12/06/04 12:17 AM.

New username: hixxy
#86489 12/06/04 12:01 AM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
The disconnect event is unnecessary since timers that are started on a connection that's already made will automatically stop when you disconnect.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#86490 12/06/04 04:54 AM
Joined: May 2004
Posts: 50
Z
zaz Offline
Babel fish
Offline
Babel fish
Z
Joined: May 2004
Posts: 50
Or better yet, use the "on start" event. But then again, if you want it 5 hours after joining a channel, an on join. You can always specify the timer to stay running even if you dissconnect. smile Use the -o switch to keep a timer running even if you dissconnect. It all depends on how badly you need to clear the window. You can set the timer to run an alias, use the alias to check $idle so you know if you are active behind the connection before clearing the screen as well.


zaz @ DALnet #mIRC http://www.mirc.org/ & #HelpDesk http://helpdesk.zaz.net/

Link Copied to Clipboard