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.

IS it possible to let eggdrop execute a command after a time

Old posts that have not been replied to for several years.
Locked
M
Maikel

IS it possible to let eggdrop execute a command after a time

Post by Maikel »

Hi, people does someone know how i can let eggdrop execute a commando after 2 minutes/ 10 minuites /40 seconds etc.?

I mean this: after everey 2 minutes eggdrop says on the channel:
enjoy your stay....

I think its easy to make a tcl script or something but i don't have any experience with that....

Could someone help me?

thx

Maikel
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

Post by GodOfSuicide »

Code: Select all

if {[lsearch -glob [timers] "* enjoy_chan *"] == -1} { timer 20 enjoy_chan }

proc enjoy_chan {args} {
putserv "privmsg #mychan :enjoy your stay"
}
would update all 20 minutes
M
Maikel

thx

Post by Maikel »

Thx dude

Maikel
Locked