| View previous topic :: View next topic |
| Author |
Message |
romaN237 Voice
Joined: 08 Jan 2011 Posts: 2
|
Posted: Sat Jan 15, 2011 7:08 pm Post subject: Eggdrop Chat Advertising? |
|
|
Hello,
I have a question.
Is there a TCL script which every xx minutes in the IRC channel anything particular to write pure.
sry, its google translate english... :< |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Sat Jan 15, 2011 8:48 pm Post subject: |
|
|
With the eggdrop version 1.6.20 it's very easy to get this with a simple 'bind cron', for example the following code will send a message to '#some_channel' every 10 minutes.
| Code: |
bind cron - {*/10 * * * *} cron:ad
proc cron:ad {minute hour day month weekday} {
putserv "PRIVMSG #some_channel :whatever you want!"
}
|
The 'cron' is easily customizable to whatever you need. _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
|