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 

Announce: TCD - Topic Count Down Script

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Mon Nov 20, 2006 2:58 pm    Post subject: Announce: TCD - Topic Count Down Script Reply with quote

Another new script, this one stores events and sets channel topics and/or makes announcements on channels every xx minutes to show a countdown of when <event> will occur.

This script is loosely based on the date.tcl script I (re)did, but this one is specifically for doing countdowns.
...............................................................................................................................................................................
To set an event:
.tcd event <eventname> <MON> <DD> <YYYY> <HR:MN> <#chan:announce|topic|both> <event-description>

The date format is: JAN 01 2007 21:12 (time is in 24hr format)

The option for <#chan:announce|topic|both> means:
#channelname:make public announcements OR set topic OR do both

If you want to have the same event announced on multiple channels, simply enter the same event data with a DIFFERENT <eventname> and <#channelname:option>

Example:
.tcd event geddysbday jul 29 2007 21:12 #mychannel:both Geddy Lee's 53rd Birthday Party!

Script is available here:
http://members.dandy.net/~fbn/tcd.tcl.txt

I'll post it to the archive after a few days if no problems are found.
Back to top
View user's profile Send private message
Domin
Halfop


Joined: 10 Jun 2006
Posts: 72

PostPosted: Thu Nov 23, 2006 6:28 pm    Post subject: Reply with quote

I get this error every time i execute the command

[21:27] Tcl error [tcdpub_date]: can't read "maxyears": no such variable
_________________
Regards
Domin @ efnet
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Thu Nov 23, 2006 7:24 pm    Post subject: Reply with quote

Change all instances of maxyears to tcdmaxyears..Guess I overlooked those vars.

I'll upload a fixed copy as well.
Back to top
View user's profile Send private message
Domin
Halfop


Joined: 10 Jun 2006
Posts: 72

PostPosted: Fri Nov 24, 2006 1:04 pm    Post subject: Reply with quote

I got a few feature requestes, if thats ok Smile

The bot shouldt announce event is now at the set time.
(i got it set to announce every 10 min, but when the event arrives, it dont announce, since its in the middel of the 10 min timer)

Ability to revert to old topic when event is over if that is possible ??

Thanks for a nice script Wink
_________________
Regards
Domin @ efnet
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Fri Nov 24, 2006 3:58 pm    Post subject: Reply with quote

Use the date.tcl script I made for the 1st.. And the 2nd, no.
Back to top
View user's profile Send private message
Domin
Halfop


Joined: 10 Jun 2006
Posts: 72

PostPosted: Sat Nov 25, 2006 5:49 am    Post subject: Reply with quote

Thanks for pointing out the date.tcl does exactly what i want Wink
_________________
Regards
Domin @ efnet
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 -> Script Support & Releases 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