| View previous topic :: View next topic |
| Author |
Message |
manwlhsgr Voice
Joined: 27 Feb 2007 Posts: 6
|
Posted: Sun Apr 15, 2007 9:56 am Post subject: time |
|
|
| i I want to make in eggdrop my say something per 30mins. say a proposal per 30mins. That you become this? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Apr 15, 2007 12:18 pm Post subject: |
|
|
| Code: | bind time - {?0 *} send:msg
proc send:msg {m args} {
if {[string match {[30]0} $m]} {
puthelp "privmsg #channel :A proposal is entered here"
}
} |
This sends "A proposal is entered here" to #channel every 30 minutes (you might want to edit these ). _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
manwlhsgr Voice
Joined: 27 Feb 2007 Posts: 6
|
Posted: Mon Apr 16, 2007 3:09 pm Post subject: |
|
|
bind time - {?0 *} send:msg
proc send:msg {m args} {
if {[string match {[5]0} $m]} {
puthelp "privmsg #hellas :A proposal is entered here"
}
}
so ? what i must to change? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Mon Apr 16, 2007 3:22 pm Post subject: |
|
|
What you need to change?
Well, that depends on what you intend to accomplish..
The code posted by Sir_Fz should do exactly what you requested in your initial post. Only thing you should have to edit would be the message that you wish to be sent to your channel (this should be obvious from Sir_Fz's comments) _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
|