mIRC Home    About    Download    Register    News    Help

Print Thread
#130760 21/09/05 05:14 PM
Joined: Jul 2005
Posts: 5
C
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Jul 2005
Posts: 5
I would need a script that ignores all the lines at a specific time every day.

Therefore, every single line on #channel would be ignored from, say, 9pm to 9.05pm.

Would that be at all possible?

#130761 21/09/05 05:17 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
/help /ignore
/help /timer

#130762 21/09/05 06:19 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
//.timerignore 21:00 1 1 .ignore -u3000 *!*@*

in aliases
/9pm .timerignore 21:00 1 1 .ignore -u3000 *!*@*

or maybe in remotes:
on *:start: timer9PM_ignore 21:00 1 1 .ignore -u3000 *!*@*

#130763 21/09/05 06:55 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
I'd change the 3000 to 300 if you want it for only 5 minutes. 3000 would be 50 minutes. laugh


Invision Support
#Invision on irc.irchighway.net
#130764 21/09/05 07:05 PM
Joined: Jul 2005
Posts: 5
C
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Jul 2005
Posts: 5
Using *!*@* all the channels I'm on are ignored, which obviously is not good.

How can I specify a certain channel without affecting the other ones?

Thanks for your help, at least I'm getting somewhere bit by bit.

Last edited by charlesb; 21/09/05 07:07 PM.
#130765 21/09/05 07:41 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
you can set a timer to moferate that channel (and deop/devoice everyone)
you could set a %var with a timer .timerignore 21:00 1 1 set -u300 %ignore 1
on ^*:text:*:#channelname:{
if (%ignore) { haltdef }
}

something along these lines should work


Link Copied to Clipboard