This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
manwlhsgr
Voice
Posts: 6 Joined: Tue Feb 27, 2007 4:59 pm
Post
by manwlhsgr » Sun Apr 15, 2007 9:56 am
i I want to make in eggdrop my say something per 30mins. say a proposal per 30mins. That you become this?
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sun Apr 15, 2007 12:18 pm
Code: Select all
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
).
manwlhsgr
Voice
Posts: 6 Joined: Tue Feb 27, 2007 4:59 pm
Post
by manwlhsgr » Mon Apr 16, 2007 3:09 pm
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?
nml375
Revered One
Posts: 2860 Joined: Fri Aug 04, 2006 2:09 pm
Post
by nml375 » Mon Apr 16, 2007 3:22 pm
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