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.

time

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
m
manwlhsgr
Voice
Posts: 6
Joined: Tue Feb 27, 2007 4:59 pm

time

Post by manwlhsgr »

i I want to make in eggdrop my say something per 30mins. say a proposal per 30mins. That you become this?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

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 ;)).
m
manwlhsgr
Voice
Posts: 6
Joined: Tue Feb 27, 2007 4:59 pm

Post by manwlhsgr »

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?
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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
Post Reply