Files

> > CS2D > Lua Scripts > Calendar System
Files overviewCS2D overviewLua Scripts overview

English Calendar System >

12 comments6 kb, 400 Downloads

old Calendar System

Ajmin
User Off Offline

So it seems you all came here to comment shit on this file.
Why because no one can resist seeing a guy uploading a batshit calendar for cs2d. Well then sorry to disappoint you guys. Because this is not just a mere batshit calendar.

> Features
• Pin a maximum of 20 messages a day. and view it anytime you need.
• Set Reminders for you
• Set your B'day
• Much More.

> Others
You can also make your own feature to fit with this script.
Some sample scripts can be found in "sys/lua/functions/"

∗ [Tutorial] ∗
So you got a menu hooked with server action key which consist of a calendar. So there must be many things you can attach to work with these menus. (Some are given below)
> Example 1: >


> Example 2: >


> Example 3: >


The file is actually prepared for windows users. Other users should change some basic os.execute commands. See sys/lua/autorun/Main.lua for more info.

Regular Clean up
To prevent over data usage the script also auto cleans all file monthly files during the start of a new month.
Users can also disable this auto clean up by setting cleanup to 0 in
sys/lua/autorun/Main.lua

Gratitude >


Permissions >
edited 3×, last 01.08.17 10:38:34 am
Approved by Yates

Download Download

6 kb, 400 Downloads

Comments

12 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

tek69
User Off Offline

set 9 eleven my bday

old

Yates
Reviewer Off Offline

I still don't get it.

old

Talented Doge
User Off Offline

For the Holiday function, it is rather easy:
1
2
3
4
5
d = {{0731, "DAY OF DEATHH"}, {0221, "OH ME GOD"}}

for i = 1, #d do
if tonumber(os.date("%m%d")) == d[i][1] then print("OH TODAY IS "..d[i][2]) break end
end
I like it!

old

Ajmin
User Off Offline

@user Masea: Refer Gratitudes. Once u saw inform me,i need to remove him ASAP.

@user Talented Doge: I planned to do that way which i later gave up. I thought using visuallua for creating multiple buttons without much hardwork will be a bit complicated aswell as laggy. Even though I suffer all this shits yet we wont be able to click buttons while we are spectating. Sweet Lords. No. I am satisfied with Normal menus.

Edit: Just saw ur suggestion. Sounds cool. If i am powerful enough to fight against my laziness,Its done.

old

Talented Doge
User Off Offline

Gratitude has written
@user Yates: for not commenting in this file. (Your name will stay here as long as you stay away from commenting)


Most likely this is why he ask why.

Suggestion:
• Holiday. When you click a specific button, the system will tell you if today is holiday(Like New Year, Christmas, Thanksgiving etc.)
• Personal Countdown/Holiday Countdown:
>Personal Countdown: Like 5 personal countdowns per user, let them count something important(Setting the name/note with replying message)
>Holiday Countdown: Likely complementing the holiday function, counting down towards the nearest holiday.
I like it!

old

Masea
Super User Off Offline

@user Yates: If you asked for the purpose of the file, then it's for fun.
I like it!

old

Yates
Reviewer Off Offline

But, why?

old

Talented Doge
User Off Offline

Nice idea. Though using images for the menu would make the calendar more realistic.
I like it!

old

Masea
Super User Off Offline

Fun and "Your message is too short (min. 5 chars)!" shit.
I like it!

old

_3yrus
User Off Offline

Neat idea !
I like it!

old

Cure Pikachu
User Off Offline

Kudos to you, even though I have no idea what this can be used for. RP servers maybe?
I like it!

old

Gaios
Reviewer Off Offline

Pretty good file.
I like it!
To the start Previous 1 Next To the start