Serrieth Posted January 15, 2004 Author Share Posted January 15, 2004 Umm sorry loard of the cheese but GETDAYSPASSED does not work, the computer is complaining about the function or command!But don't worry! I figured it out! Begin days if (MenuMode == 1) returnendif short dayspassedshort currentdayshort Setup if (setup == 0) set dayspassed to 1 set currentday to day ; like a timer set setup to 1endif if (currentday != day) ; once a day has passed set dayspassed to dayspassed + 1 set currentday to day ; reset timerendif if (dayspassed > 5) messagbox "Your six days are up!" "Ok" set setup to -1 set dayspassed to 0 ;Set the days back to 0endif End So as you see I did not need Getdayspassed <_< I can add a little more to fininsh the code, such as adding items or updating a journal or removing an item or using a messagbox, like I did above. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.