mIRC Home    About    Download    Register    News    Help

Print Thread
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.

Joined: Mar 2010
Posts: 146
Vogon poet
Offline
Vogon poet
Joined: Mar 2010
Posts: 146
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...
Joined: Oct 2004
Posts: 8,330
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
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

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!


Link Copied to Clipboard