• Last10 script

    From Tiny@21:1/130 to All on Mon Oct 28 09:29:38 2019

    Hello everybody!

    Just confirming the syntax for the new last10 script for the doors:

    HOTKEY L
    COMMAND RUNDOOR
    DATA Lord
    COMMAND DOSCRIPT
    DATA last10_doorhook

    The ANSI shows but nothing is populated in the list. Login stanza is: DOFILE("/home/shawn/MagickaBBS/scripts/last10_loginhook.lua");

    The logfile shows:
    09:24:36 [31462][192.168.0.1] Tiny is logging out, on node 1
    09:24:36 [31462][192.168.0.1] Error calling luaL_dofile() Error Code 0x1 09:24:36 [31462][192.168.0.1] Error: /home/shawn/MagickaBBS/scripts/disconnect.lua:1: attempt to call a nil value (global 'DOFILE')

    disconnect.lua
    DOFILE("/home/shawn/MagickaBBS/scripts/last10_logouthook.lua");

    Should there be anything else in the disconnect.lua? It's just the one line.

    Shawn


    ... A short cut is the longest distance between two points.
    --- GoldED+/W32-MINGW 1.1.5-b20160201
    * Origin: Tiny's BBS - tinysbbs.com (21:1/130)
  • From Oli@21:1/151 to Tiny on Mon Oct 28 15:37:12 2019
    The ANSI shows but nothing is populated in the list. Login stanza is: DOFILE("/home/shawn/MagickaBBS/scripts/last10_loginhook.lua");

    The logfile shows:
    09:24:36 [31462][192.168.0.1] Tiny is logging out, on node 1
    09:24:36 [31462][192.168.0.1] Error calling luaL_dofile() Error Code 0x1 09:24:36 [31462][192.168.0.1] Error: /home/shawn/MagickaBBS/scripts/disconnect.lua:1: attempt to call a nil
    value
    (global 'DOFILE')

    lua is case sensitive. try dofile() instead of DOFILE()

    ---
    * Origin: (21:1/151)
  • From Tiny@21:1/130 to Oli on Mon Oct 28 11:36:02 2019

    Hello Oli!

    28 Oct 19 15:37, you wrote to me:

    lua is case sensitive. try dofile() instead of DOFILE()

    Thank you. Works just fine now.

    Shawn


    ... A man does not look behind the door unless he has stood there himself.
    --- GoldED+/W32-MINGW 1.1.5-b20160201
    * Origin: Tiny's BBS - tinysbbs.com (21:1/130)