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 

Calendar

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Mogour
Voice


Joined: 10 Feb 2008
Posts: 17

PostPosted: Tue Mar 11, 2008 3:26 pm    Post subject: Calendar Reply with quote

I already searched the TCL archive, but I found nothing.

I need a "calendar-script".

All OPs can add new entries with !calendar add <date (DD.MM.YYYY)> <text> and remove them with !calendar del <date>.
All normal users can read today's entry with !calendar or the entry for a specific date with !calendar <date>.

Also, if someone joins the channel, the bot should notice him today's entry (only if a entry was added).

Example:

Quote:

User: !calendar add 12.03.2008 Just a little test
Bot: You don't have enough rights to do that
OP: !calendar add 12.03.2008 Just a little test
Bot: New entry for the 12. March 2008 added.
User: !calendar
Bot: No entry for today's date.
User: !calendar 12.03.2008
Bot: Entry for the 12. March 2008 by OP:
Bot: Just a little test
OP2: !calendar del 12.03.2008
Bot: Entry for the 12. March 2008 deleted


I hope someone can help me with that.
Back to top
View user's profile Send private message
rosc2112
Revered One


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

PostPosted: Tue Mar 11, 2008 7:01 pm    Post subject: Reply with quote

Look for "date" in the archive.
Back to top
View user's profile Send private message
Mogour
Voice


Joined: 10 Feb 2008
Posts: 17

PostPosted: Tue Mar 11, 2008 7:35 pm    Post subject: Reply with quote

Ah, thanks Smile.

I found something!


EDIT:

I'm using your script now and i was wondering if I can change the date format to the european date (Day. Month. Year)?
Back to top
View user's profile Send private message
rosc2112
Revered One


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

PostPosted: Tue Mar 11, 2008 11:39 pm    Post subject: Reply with quote

Too much work for me.
Back to top
View user's profile Send private message
Mogour
Voice


Joined: 10 Feb 2008
Posts: 17

PostPosted: Thu Mar 13, 2008 10:43 am    Post subject: Reply with quote

Hmm, maybe you can tell me what I have to change?
Back to top
View user's profile Send private message
rosc2112
Revered One


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

PostPosted: Thu Mar 13, 2008 2:33 pm    Post subject: Reply with quote

pretty much the entire script, since the date format is hard-coded through-out.
Back to top
View user's profile Send private message
Mogour
Voice


Joined: 10 Feb 2008
Posts: 17

PostPosted: Thu Mar 13, 2008 2:48 pm    Post subject: Reply with quote

Okay, thanks nevertheless
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 Requests 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