egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

event schedule from the bot channel

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
ldevries
Voice


Joined: 23 Feb 2013
Posts: 12
Location: Great Falls

PostPosted: Sun Mar 17, 2013 9:12 am    Post subject: event schedule from the bot channel Reply with quote

looking for a way to create a time event from the bot channel. ie .tcl bind time 00 09 * * * <post to channel>? and then delete that event afterwards
Back to top
View user's profile Send private message
ldevries
Voice


Joined: 23 Feb 2013
Posts: 12
Location: Great Falls

PostPosted: Mon Mar 18, 2013 10:20 am    Post subject: Reply with quote

Was able to find out how to do it and figured I would post it here for others.

in the partyline do the following 1st:

.tcl proc announceStuff {msg args} { putmsg #<channel> $msg }

then you can load the timer with the following:

.tcl bind time - "10 11 17 02 2013" [list announceStuff "\0034 <YOUR MSG HERE>\017"]

time = ("min hour day month year")
don't forget the time uses month as jan=00 feb=01 march=02, etc
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber