Year patch to Myrddin's BBS

Currently, Myrddin's BBS (version 4.0.6) records only the day and month a +bbpost was made. For games that keep _years_ worth of old posts, this simple patch will make it so the year is recorded as well. Old posts will not be affected.

Author: 8BitMUSH
Category: Bulletin Board
Functions: extract(), last(), time().

Instructions

Copy and paste the below code into a compatible MUSH or MUX.

MUSHCode for Year patch to Myrddin's BBS

@@ Currently, Myrddin's BBS (version 4.0.6) records only the day and month
@@ a +bbpost was made. For games that keep _years_ worth of old posts, this
@@ simple patch will make it so the year is recorded as well. Old posts will
@@ not be affected.

@@ Change 'bbpocket' to the DBREF of the bbpocket object.
&BBTIME bbpocket=[extract(time(), 2, 2)] [last(time())]