• New Last10 Script

    From apam@21:1/126 to All on Mon Oct 21 16:03:30 2019
    Hi

    All this afternoon I've been working on a new last 10 callers script in
    LUA.

    Doing this script required adding a disconnect hook so now every time a
    user disconnects, disconnect.lua in your scripts folder will be called if
    it exists. If it doesn't, nothing different happens.

    The last10 caller script is made up of a last10.lua script that displays
    the last 10 callers and a bunch of hook scripts that feed it data.

    The most important of the hook scripts is the last10_logout.lua script
    which needs to be called from disconnect.lua, and the
    last10_loginhook.lua that needs to be called from the login_stanza.lua
    (up the top).

    The other hook scripts can be chained to menus items, for example to
    record the usage of a door, say, for honour, your menu file would have an
    entry similar to this:

    HOTKEY 1
    COMMAND RUNDOOR
    DATA ForHonour
    COMMAND DOSCRIPT
    DATA last10_doorhook

    That makes it run the door, then immediately after run the script to
    record the door usage.

    There is also one for upload, download and message posts, which can also
    be chained to menu commands. They're not 100% accurate obviously if a
    user cancels a download it will still record a download.

    All these scripts are in the MagickaScripts repo now, but you can see it
    in action on HappyLand.

    Andrew
    PS. It's design was stolen from zLastCallers on Netsurge's Hysteria BBS.
    PPS. That's all the updates for today, I'm exhausted.



    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: HappyLand (21:1/126)
  • From Al@21:4/106 to apam on Mon Oct 21 14:30:56 2019
    All this afternoon I've been working on a new last 10 callers script in LUA.

    Good stuff, I am going to walk through your post and get that setup here.

    I have noticed that Magicka doesn't always add a TZUTC kludge for some
    reason and other times it does. The message I am replying to doesn't have
    one. I haven't been able to pick up a reason why that happens.

    Ttyl :-)
    Al

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)
  • From Al@21:4/106 to apam on Mon Oct 21 14:55:32 2019
    I have noticed that Magicka doesn't always add a TZUTC kludge for some reason and other times it does. The message I am replying to doesn't have one. I haven't been able to pick up a reason why that happens.

    Scratch that.. ;)

    I do see it with GoldED. Magicka sometimes unhides it with V and
    sometimes not, no worries.

    Ttyl :-)
    Al

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)