This is my attempt to clone (and enhance!) SaveyBot.
Here is the original SaveyBot.
- .load <username>
- This command tells you how many savestates <username> owns!
- .load <slot_number>
- This command shows savestate #<slot_number>!
- .save <message>
- This commands saves <message> to the lowest (positive) available slot!
- .save <slot_number> <message>
- This command saves <message> to savestate #<slot_number>, which can overwrite an existing savestate only if the user owns that savestate!
- .road
- This command loads a random savestate!
- .road <username>
- This command loads a random savestate owned by <username>!
- .remove <slot_number>
- If the user owns savestate #<slot_number>, then this command will delete that savestate!
- .whois <slot_number>
- This command tells you who owns savestate #<slot_number>!
- .date <slot_number>
- This command tells you when savestate #<slot_number> was saved, if it is known. Savestates made using original SaveyBot do not have a known date saved!
Note that this implementation uses the POSIX C API for networking, so it won't work in Windows out of the box. You'll need something like Cygwin (or maybe msys2), I think, if you want to run this in Windows.
Required libraries: jsoncpp, gmp, gmpxx
Also, liborangepower (my own library) is required, but that's taken care of with git subrepo.
I highly recommend git subrepo, by the way.