Changes list / Addchange
Author
Submitted by
Version
D/L
File Size
Date Added
Last Updated
Khonsu
Khonsu
2.23
109
4.97 KB
Mar 21, 2024
Aug 18, 2024
Description
This is a conversion of a C version of one of the common addchange snippets floating around originally made by xkill, Greven, Gavin, Atrox.
I modified it to work with the CPP version of AFKMud. It is pretty much drag and drop and adding your commands, instructions are included in the readme.
This is my first experience with CPP so it might not be the prettiest but it does compile cleanly and seems to be bug free.
Update 1.1: Modified the changes command to display changes in a formatted style. It will indent a new line if a change is longer than 50 characters, and should not cut off words. Also uses snprintf instead of sprintf now.
Update 1.2: Now offers "pagination". Sorts changes file into lists of 25 changes. Can type 'changes 1' for 1-25, 'changes 2' for 26-50, etc. Typing changes by itself shows most recent 25 changes. And 'changes all' for every change. Modified the spacing on the Number column to fit 3 digits.
Revisions: 2
Rating:
| Download
| Comments(0)