mIRC Home    About    Download    Register    News    Help

Print Thread
Looking for a Timed Message Script #232656 14/06/11 02:29 PM
Joined: Jun 2011
Posts: 3
T
Thom427 Offline OP
Self-satisified door
OP Offline
Self-satisified door
T
Joined: Jun 2011
Posts: 3
Hello, I had a timed message script, but not working in windows7?... Anyone have a script that would announce a message in a channel like every hour that will work with W7? Thanks in advance.

Re: Looking for a Timed Message Script [Re: Thom427] #232657 14/06/11 03:52 PM
Joined: Mar 2010
Posts: 144
Masoud Offline
Vogon poet
Offline
Vogon poet
Joined: Mar 2010
Posts: 144
I'm on Windows 7 and everything works fine.
All you need is a /timer with a specific time to announce and a message.
Example:
Code:
/timerAnnounce 0 60 msg #MyChannel Hey everybody!

This would send "Hey everybody!" to "#MyChannel" every 60 seconds.


Nothing...
Re: Looking for a Timed Message Script [Re: Thom427] #232659 14/06/11 04:17 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Yeah, a normal announcer script should work just fine regardless of OS version or mIRC version. Those are very simple (just a timer and possibly a dialog), so nothing should be changed that would affect it directly. Perhaps another part of your script that does something else has the problem.

In any case, a timer is all you need as was mentioned. 3600 is an hourly timer. Here's an example that lets you enable it from a right click menu (right click while in a channel):

Code:
menu channel {
  Announce
  .Start: .timerAnnounce. $+ $chan 0 3600 msg $chan $$?="Enter message..."
  .Stop: .timerAnnounce. $+ $chan off
}


Edited with Start/Stop menu items rather than just Start. You can run one announcement per channel with this and it's not network specific, so an ad in #chan1 on network1 will appear in #chan1 on network2 if you have that channel open. Additional options for multiple network support and multiple ads for each channel would require a bit more. This is just a basic announce script.

Last edited by Riamus2; 14/06/11 06:02 PM.

Invision Support
#Invision on irc.irchighway.net
Re: Looking for a Timed Message Script [Re: Riamus2] #232661 14/06/11 04:57 PM
Joined: Jun 2011
Posts: 3
T
Thom427 Offline OP
Self-satisified door
OP Offline
Self-satisified door
T
Joined: Jun 2011
Posts: 3
Thanks Everyone smile

Re: Looking for a Timed Message Script [Re: Riamus2] #232663 14/06/11 06:43 PM
Joined: Jun 2011
Posts: 3
T
Thom427 Offline OP
Self-satisified door
OP Offline
Self-satisified door
T
Joined: Jun 2011
Posts: 3
Thanks I like this!