mIRC Home    About    Download    Register    News    Help

Print Thread
#119212 02/05/05 10:29 PM
Joined: Apr 2005
Posts: 38
J
juble Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Apr 2005
Posts: 38
hi
i need a script who activated when in main channel nobody speaks for 10 minutes (no active at all - convertations i mean)
and then to send an msg in channel
it is possible?
(if it is possible and some friend knows how can we do it pls create this script with txt file because i want different msg 's every time who is acrivated)

#119213 02/05/05 11:02 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Give this a try
Code:
on *:text:*:#:{ .timeridle 1 600 .msg $chan $read(messages.txt) } 

#119214 03/05/05 02:45 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
hehehe I like that method, just keep remaking the timer everytime someone says something.

#119215 03/05/05 10:31 AM
Joined: Apr 2005
Posts: 38
J
juble Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Apr 2005
Posts: 38
nice
thanks russel
but i have a small problem
most of the times it's repeat the same message (line) from txt
how can i make it to repeat every 10 min. and different line?

Last edited by juble; 03/05/05 10:31 AM.
#119216 03/05/05 11:02 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
on *:text:*:#:{ .timeridle 1 600 .msg $chan $!read(messages.txt) }

that well fix it from saying the same 3 times if no one says anything for 30 mins.


Link Copied to Clipboard