Section One BBS

Welcome, Guest.


Subject: How to customize the Logon EVENT? Date: Sat Apr 09 2022 09:39 pm
From: Digital Man To: AngieAndretti

  Re: How to customize the Logon EVENT?
  By: AngieAndretti to ALL on Sat Apr 09 2022 07:14 pm

 > Sorry for being a noob with what may be a stupid question but I've dug
 > through so much code and I'm lost for what to do:
 >
 > I want to customize the behavior of what appears to be
 > user_event(EVENT_LOGON) and I found notes that appear to imply it's
 > possible, as they refer to this as "running configured external logon
 > events."  But how to configure??

External logon events are configured in SCFG->External Programs->Online Programs
. Add/change a program with a "Execut on Event" set to "Logon" and voila: it exe
cutes during logon.

 > Specifically, I want to globally eradicate the "Read your mail now?" prompt
 > at user logon -

Find the ReadYourMailNowQ string in your ctrl/text.dat file and set it to an emt
py string ("") and voila: the prompt is eradicated.

 > but I'd still really like it to display the notification
 > that new mail is waiting IF any has been received... in that case the user
 > should have to enter the email menu manually if they want to read it.

You can write your logon module (e.g. JS) to do that and have it execute as a lo
gon event as previously described.

 > Second (and less important,) I'd like to suppress displaying the notice
 > "Your time has been reduced due to an upcoming event."  Time is infinite for
 > all users in my scenario and it's a useless and confusing message.
 >
 > Could someone give me a hand with this please?

The ReducedTime string in your text.dat file.
-- 
                                            digital man (rob)

Sling Blade quote #3:
Karl (re: killing Doyle): That second one just plum near cut his head in two.
Norco, CA WX: 61.3°F, 83.0% humidity, 0 mph WSW wind, 0.00 inches rain/24hrs

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

Previous Message       Next Message
In Reply To: How to customize the Logon EVENT? (AngieAndretti)
Replies: How to customize the Logon EVENT? (AngieAndretti)