The index corresponding to the Notice isn't supposed to reset. I'm being cheap and using the AUTOINCREMENT/AUTO_INCREMENT parameter provided by SQLite/MySQL, so that the notices always have a unique index.
I wanted to wait until tomorrow to fix that bug in 1.0.1 but it seems that the inability to automatically delete expired Notices is a bit more important. Botched code from 1.0.0 to 1.0.1 so that it wasn't pruning properly.
Revision 1.0.2
----------------
- Added cvar sm_notices_order, which allows choice between ascending/descending ordering for the Notice menu.
- Fixed a minor display bug with sm_getnotice, / sm_listnotices where Duration showed a value in seconds rather than minutes.
- Fixed an issue with Notices not expiring automatically on map change where applicable.
__________________