Jump to content

New script


Serrieth

Recommended Posts

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)

return

endif

 

short dayspassed

short currentday

short Setup

 

 

if (setup == 0)

set dayspassed to 1

set currentday to day ; like a timer

set setup to 1

endif

 

if (currentday != day) ; once a day has passed

set dayspassed to dayspassed + 1

set currentday to day ; reset timer

endif

 

if (dayspassed > 5)

messagbox "Your six days are up!" "Ok"

set setup to -1

set dayspassed to 0 ;Set the days back to 0

endif

 

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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...