1
General SMFShop Discussion / Request: Expiring Unused Items
« on: June 15, 2007, 06:44:20 pm »
Perhaps for a future edition, it would be nice to have the option to create items which expire after a certain date, e.g. June 15, or after so many days, e.g. 30 days after purchase.
I might be able to do this by putting a date check in the item's onUse function (if date > June 15, return expiration message) but rather than a true "self-destruct" the item will simply sit until its used unsuccessfully. It would be nice if the item simply blinked out of existence.
I might be able to do this by putting a date check in the item's onUse function (if date > June 15, return expiration message) but rather than a true "self-destruct" the item will simply sit until its used unsuccessfully. It would be nice if the item simply blinked out of existence.