• exec/showavatar.js

    From rswindell@VERT to CVS commit on Monday, April 22, 2019 22:51:00
    exec showavatar.js NONE 1.1
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv8320

    Added Files:
    showavatar.js
    Log Message:
    A simple script to display a user's avatar somewhere on the terminal screen. The default user is the current user. If a different user's avatar is to be shown, the user number must be passed on the command-line. Other command-line options supported:
    -draw = use the Graphic.draw() method to display anywhere (requires ANSI)
    -top = display the avatar at the top of the screen
    -right = display the avatar at the right edge of the screen
    -above = display the avatar above the current cursor position

    The -top/right/above options imply "draw", and all require ANSI support.
    The default display method is to simply "show" the avatar (not draw) and that does not require ANSI support, but can only display the avatar at the current cursor location, left-justified.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net