Days till Stat Day

macman104

Member
Alrighty, here's the next script I made. I've really been into these things lately, for whatever reason. So...yea, I've included, like before, a main version and a version without a main for use in other scripts.

This one, the main version, will prompt you for a stat, and it will tell you how many days until the next stat day. If it is currently that stat day, it returns zero, I suppose I *could* return the next stat day, let me know what you think. Also, right now, mafia seems to not like declaring multiple variables on the same line, so it's a little more messy than I want, hopefully I'll be able to clean it up a little bit more in the future.

Please let me know if you have any suggestions or requests, I feel like this script could probably be cleaner, so opinions are appreciated.
 

Attachments

Updated scripts, because I discovered that if your character is set to compact mode, trying to visit the url topmenu.php, redirects you to compactmenu.php, which causes the script to fail. So, I've added a fix for that, also, changed the strings of moon1, moon2, etc, just to the number to detect the different days.
 

Attachments

Back
Top