• src/sbbs3/chat.cpp sbbsdefs.h

    From rswindell@VERT to CVS commit on Thu Sep 12 23:13:58 2013
    src/sbbs3 chat.cpp 1.62 1.63 sbbsdefs.h 1.184 1.185
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv657

    Modified Files:
    chat.cpp sbbsdefs.h
    Log Message:
    Added support for a new "user event": local/sysop chat
    If an external progarm is configured (in SCFG->External Progarms) is configured to "execute on event" set to "Local/Sysop Chat", then that program will be executed when the remote user is "pulled" into sysop-chat (e.g. via F10 key in sbbsctrl) rather than running the normal built-in chat.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Nightfox@VERT to rswindell on Fri Sep 13 20:47:36 2013
    Re: src/sbbs3/chat.cpp sbbsdefs.h
    By: rswindell to CVS commit on Thu Sep 12 2013 23:13:58

    Added support for a new "user event": local/sysop chat
    If an external progarm is configured (in SCFG->External Progarms) is configured to "execute on event" set to "Local/Sysop Chat", then that program will be executed when the remote user is "pulled" into sysop-chat (e.g. via F10 key in sbbsctrl) rather than running the normal built-in chat.

    I downloaded today's daily build and tried looking for this event in SCFG, but I don't see it. The "Execute on event" setting lists the following options: No, Logon, Logoff, New User, Birthday, Message Posted, File Uploaded, and File Downloaded. Am I missing something perhaps? Is there more to be downloaded than sbbs_dev.zip?

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Fri Sep 13 22:02:16 2013
    Re: Sysop-user chat event
    By: Nightfox to rswindell on Fri Sep 13 2013 08:47 pm

    Re: src/sbbs3/chat.cpp sbbsdefs.h
    By: rswindell to CVS commit on Thu Sep 12 2013 23:13:58

    Added support for a new "user event": local/sysop chat
    If an external progarm is configured (in SCFG->External Progarms) is configured to "execute on event" set to "Local/Sysop Chat", then that program will be executed when the remote user is "pulled" into sysop-chat (e.g. via F10 key in sbbsctrl) rather than running the normal built-in chat.

    I downloaded today's daily build and tried looking for this event in SCFG, but I don't see it. The "Execute on event" setting lists the following options: No, Logon, Logoff, New User, Birthday, Message Posted, File Uploaded, and File Downloaded. Am I missing something perhaps? Is there more to be downloaded than sbbs_dev.zip?

    No, I just forgot to commit the change to scfgxtrn.c. Today's build should have
    it.

    digital man

    Synchronet "Real Fact" #34:
    The irc.synchro.net network has more servers than users.
    Weather station currently offline (out for repair)
    ---
    þ Synchronet þ Vertrauen þ Home of
  • From Nightfox@VERT to Digital Man on Fri Sep 13 22:13:09 2013
    Re: Sysop-user chat event
    By: Digital Man to Nightfox on Fri Sep 13 2013 22:02:16

    No, I just forgot to commit the change to scfgxtrn.c. Today's build should have it.

    Ah, OK.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS
  • From Nightfox@VERT to Digital Man on Sat Sep 14 10:43:08 2013
    Re: Sysop-user chat event
    By: Digital Man to Nightfox on Fri Sep 13 2013 22:02:16

    No, I just forgot to commit the change to scfgxtrn.c. Today's build should have it.

    I've downloaded today's build and set up IceChat to run for the sysop-user chat event. It works well. Thanks for adding the feature.

    One thing I'm curious about is, what if more than one program is set up for that event?

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Sat Sep 14 22:44:03 2013
    Re: Sysop-user chat event
    By: Nightfox to Digital Man on Sat Sep 14 2013 10:43 am

    Re: Sysop-user chat event
    By: Digital Man to Nightfox on Fri Sep 13 2013 22:02:16

    No, I just forgot to commit the change to scfgxtrn.c. Today's build should have it.

    I've downloaded today's build and set up IceChat to run for the sysop-user chat event. It works well. Thanks for adding the feature.

    Don't you end up with a "chat.exe" instance that's waiting for the user to join
    chat?

    One thing I'm curious about is, what if more than one program is set up for that event?

    That's a good question. I think it would run all of them.
    <checks>
    Yup, it'd run all of them (which are applicable to the current user online).

    digital man

    Synchronet "Real Fact" #43:
    Synchronet added JavaScript suppport with v3.10a (2001).
    Weather station currently offline (out for repair)
    ---
    þ Synchronet þ Vertrauen þ Home of Synchr
  • From Nightfox@VERT to Digital Man on Sat Oct 19 08:07:47 2013
    Re: Sysop-user chat event
    By: Digital Man to Nightfox on Sat Sep 14 2013 22:44:03

    I've downloaded today's build and set up IceChat to run for the
    sysop-user chat event. It works well. Thanks for adding the feature.

    Don't you end up with a "chat.exe" instance that's waiting for the user to join chat?

    Yes, you do.. But IceChat also runs, which ends up being the program that takes over the sysop-user chat experience. It might be cleaner if chat.exe wouldn't run if there is another program set up to run at the sysop-user chat event.

    One thing I'm curious about is, what if more than one program is set
    up for that event?

    That's a good question. I think it would run all of them.
    Yup, it'd run all of them (which are applicable to the current user online).

    If more than one program is setup to handle the sysop-user chat event, I wonder if that would pose a significant issue.. I haven't tried it though.

    Nightfox

    ---
    þ Synchronet þ Di