Timequake Tally (Mudlet)

edited September 2021 in Mechanic's Corner

Mudlet, two packages to import
Linked on Github
table-orderedPairs.xml - is a helper that iterates through a table in a guaranteed order (from lua-users.org) Replaced with spairs() in Mudlet.
timequake-tally.xml - aliases, triggers, scripts to get timequake participants and convert log to IG date (d mmmm, ie., 6 Tzarin)

run alias `qtt on`, read some org logs, then `qtt off`

You can change the format of the IG date by modifying trigger 'timequake log converted date'.

Active: Monday, Thursday, Friday, Saturday EST

Avatar made through Picrew

Comments

  • edited September 2021
    Are you familiar with spairs, built in to Mudlet? Allows for sorted iterating of tables. Defaults to alphabetical (string), but you can provide whatever sort function you like. May be easier/better than including a whole nother package to import.
  • demonnic said:
    Are you familiar with spairs, built in to Mudlet? Allows for sorted iterating of tables. Defaults to alphabetical (string), but you can provide whatever sort function you like. May be easier/better than including a whole nother package to import.
    Ooh. Useful. I was using the code above to go with the 'natural' inserted order of the table, although going with spairs means people can read logs out of order and it'll still return back in chronological order (since log dates happen to be yyyy/MM/dd).

    Updated!
    Active: Monday, Thursday, Friday, Saturday EST

    Avatar made through Picrew
  • Glad to see some solutions for these niche projects popping up in the public domain!
  • edited October 2023

    Update: The timequake tally has been moved to the deprecated branch of the lusternia-secretary repo. https://github.com/xiran-leternae/lusternia-secretary/tree/deprecated

    Active: Monday, Thursday, Friday, Saturday EST

    Avatar made through Picrew
Sign In or Register to comment.